Re: VCard (General questions)

by wodDamir, (5779 days ago) @ Jasmine

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) ;
IXMPPVCard myvcard ;
myvcard.AttachDispatch(cnt.GetVCard()) ;
AfxMessageBox(myvcard.GetJid());[/code]

Regards,
Damba

locked

Complete thread: