Re: Unhandled Exception in XMPP - WeOnlyDo Discussion board

Re: Unhandled Exception in XMPP (General questions)

by gothic_coder, Wednesday, December 15, 2010, 10:38 (5093 days ago) @ woddrazen

Hello Drazen,

Yes i checked the new sample and it worked perfectly, The problem is that the new sample is dialog based application so after sending text it wait for the incomingmessage event till it get disconnected (when someone press the disconnect button).

But i was trying in console application (SimpleIm in ATL Folder), where it Sends the text and immediately call disconnect. How could i make it wait for IncomingMessage event?

I thought of turn off the Blocking but it throws the exception.
pXMPP->Blocking = VARIANT_FALSE; making this false throws exception, I can't even comment it.

I hope you get the point.


Thanks a lot for you time.


Complete thread: