Re: VCard (General questions)

by Jasmine, (5801 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

locked

Complete thread: