Re: VCard (General questions)
Hi. I used our Samples\VC\Component\MFC and I used this code to obtain first contact's VCard:[code] IXMPPContacts cnts;
cnts.AttachDispatch(m_XMPP.GetContacts(), TRUE);
VARIANT var;
var.vt = VT_I2;
var.iVal = 0;
IXMPPContact cnt;
cnt.AttachDispatch(cnts.GetItem(var), TRUE);
IXMPPVCard vcard;
vcard.AttachDispatch(cnt.GetVCard(), TRUE);
vcard.Receive();[/code]
Hope this helps!
Kreso
Complete thread:
- VCard - Varchas, 2009-06-11, 13:29
- Re: VCard - woddrazen, 2009-06-11, 15:52
- Re: VCard - Varchas, 2009-06-11, 18:04
- Re: VCard - wodSupport, 2009-06-11, 21:52
- Re: VCard - Varchas, 2009-06-11, 18:04
- Re: VCard - woddrazen, 2009-06-11, 15:52