Re: VCard - WeOnlyDo Discussion board

Re: VCard (General questions)

by wodDamir, Tuesday, July 07, 2009, 09:04 (5617 days ago) @ wodSupport

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


Complete thread: