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