Re: VCard - WeOnlyDo Discussion board

Re: VCard (General questions)

by wodSupport, Monday, June 15, 2009, 16:16 (5639 days ago) @ Sapna

No, that's not it. It is of IPictureDisp type. If you refer to experts-exchange link I provided you can see sample there, something like [code]void CViaClientDlg::XMPP_VCardDetails(LPDISPATCH Contact, BOOL Partial)
{
IXMPPContact cnt;
cnt.AttachDispatch(Contact);
IXMPPVCard vc;
vc.AttachDispatch(Contact.GetVCard()) ;
CPictureHolder foo;
foo.SetPictureDispatch(vc.GetPhoto());
}
[/code]
I didn't test it but I don't see why this wouldn't work.

Kreso


Complete thread: