[JDEV] (HELP!) How to get a JabberSession pointer from JabberCOM

dai_jin at 21cn.com dai_jin at 21cn.com
Wed Feb 21 07:35:38 CST 2001


I imported JabberCOM and used following code:

IJabberSessionPtr pSession;
HRESULT hr;
hr = pMsg.CreateInstance(__uuidof(IJabberSession));
if (SUCCEEDED(hr))
{...}

but i always get an error(SUCCEEDED(hr) is FALSE).
What i missed?

thanks.
Jim
----------------------------------------------
»¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system





More information about the JDev mailing list