Re: VCard (General questions)
Sapna,
Can you please try this:
[code]IXMPPVCard mycard;
mycard.AttachDispatch(m_XMPP.GetVCard());
mycard.Receive();[/code]Use the above code to retrieve VCard, and use this in VCardDetails Event:
[code]IXMPPContact cnt;
cnt.AttachDispatch(Contact) ;
//contact returns null if the picture is not present in the vcard
IXMPPVCard myvcard ;
myvcard.AttachDispatch(cnt.GetVCard()) ;AfxMessageBox(myvcard.GetJid());
//this code does not return anything because the myvcard does not have anything other than the picture. myvcard.GetJid() returns null
[/code]Regards,
Damba
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