View Single Post
  #4  
Old October 14th 07, 05:40 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.outlook.program_addins
Adam Dempsey
external usenet poster
 
Posts: 4
Default Can get UserProperty Names but not Values?

On 12 Oct, 17:57, "Dmitry Streblechenko" wrote:
Do you see the properties in MFCMAPI or OutlookSpy (click IMessage)?
Are you use you have a string property? What is the value of
UserProp-Value.vt?


I got it sorted in the end

_variant_t v;
v.Attach (UserProp-GetValue());
_bstr_t b = (_bstr_t)(v);

Ads