SendMessage eata type mismatch error (wodXMPP)

by yonko, (5053 days ago)

hello again,

when i try to send messaage with the SendMessage method, it always falls to error (data type mismatch)

my VFP code:

oXMPP = CREATEOBJECT( WeOnlyDo.wodXMPPCom )
oSprava = CREATEOBJECT( WeOnlyDo.XMPPMessage )
...
oSprava.Text = test message
oXMPP.SendMessage( test@ventus.sk ,oSprava)
-> OLE error code 0x80020005

I want to use SendMessage method for its ErrorCode property

locked

Complete thread: