|
I'm having a hell of a time getting the JabberCOM
dll to work under VC++. Here's my code to load and init the
COM. Any help is greatly appreciated.
Thanks
OleInitialize(NULL); HRESULT hr; hr = CoCreateInstance(CLSID_JabberSession, NULL, CLSCTX_INPROC_SERVER, IID_IJabberSession, ( void**)&iJabber);iJabber->put_Username(L"clientname"); iJabber->put_Password(L"password"); iJabber->put_Server(L"jabber.org"); iJabber->put_Resource(L"test"); iJabber->put_Available( true); if (FAILED(iJabber->DoConnect(TRUE, jatAuto))){ AfxMessageBox(L"Failed to login to account", MB_ICONSTOP); return FALSE;} |
- [JDEV] JabberCOM and VC++ Mr. D. Ragon
- Re: [JDEV] JabberCOM and VC++ Bharath Kumar M S
- Michael Kim
