Re: SendMessage eata type mismatch error - WeOnlyDo Discussion board

Re: SendMessage eata type mismatch error (General questions)

by yonko, Friday, October 28, 2011, 14:53 (4557 days ago) @ woddrazen

Yonko,


Why don't you try to import wodXMPP inside Visual FoxPro on this way
http://www.weonlydo.com/index.asp?kb=1&View=entry&EntryID=44


Drazen

... because i'm creating non-visual class for non-visual processes

however, i figure out where is the problem. when i create object oXMPP from WeOnlyDo.wodXMPP (activeX control) instead of WeOnlyDo.wodXMPPCom (COM object), the SendMessage method works. Why the SendMessage method does'n work on wodXMPPCom, i don't know but i expect it should

the second problem is, that the SendMessage.ErrorCode/Text does not handle any error. (for example when i send message to recipient which is Off or doesn't exist or when i try to send message while connection state is <>5). where is the problem now?


Complete thread: