How are you retrieving that property? Large string or binary properties (such as PR_ATTACH_DATA_BIN or PR_BODY) must be opened using IMAPIProp::OpenProperty(IStream, ...) rather than IMAPIProp::GetProps or HrGetOneProp.
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool
<Happy.Cerberus[ at ]gmail.com> wrote in message news:1139511510.608173.59000[ at ]o13g2000cwo.googlegroups.com...
[Quoted Text] > How can I access attachments using MAPI? > > Somewhere on internet i found PR_ATTACH_DATA_BIN property, but this > doesn't seem to work: MAPI_W_ERRORS_RETURNED is returned. > > Thx for any help... >
|