Re: Copy an IStorage interface to an IStream interface for ATTACH_OLE attachments



IID_IStreamDocfile shoudl do the job if all you want to do is persist the
data in a stream.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"na" <na@xxxxxx> wrote in message
news:eHJ0WKUiIHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
Another question I have is, should I just get an IStream as I don't care
to read the file, I am just saving it and later I will add it back to the
message. So which of the following should I use to read ATTACH_OLE
attachments?


IID_IStream
IID_IStreamDocfile
IID_IStorage



.



Relevant Pages

  • Re: how to remove attachment from Email
    ... OutlookSpy - Outlook, CDO ... and MAPI Developer Tool ... "Dmitry Streblechenko" wrote: ...
    (microsoft.public.win32.programmer.messaging)
  • Re: CDO 1.21 MAPI.Message Reply() method
    ... "Dmitry Streblechenko" wrote: ... OutlookSpy - Outlook, CDO ... So i'm at a loss as to how to achieve the end result of sending japanese ...
    (microsoft.public.win32.programmer.messaging)
  • Re: CDO 1.21 MAPI.Message Reply() method
    ... So i'm at a loss as to how to achieve the end result of sending japanese ... "Dmitry Streblechenko" wrote: ... OutlookSpy - Outlook, CDO ...
    (microsoft.public.win32.programmer.messaging)
  • Re: 80040605 Error with CDO 1.21 and .NET
    ... Dmitry Streblechenko (MVP) ... OutlookSpy - Outlook, CDO ... "Dmitry Streblechenko" wrote: ...
    (microsoft.public.win32.programmer.messaging)
  • Re: GAL reading and updation of data
    ... "Dmitry Streblechenko" wrote: ... OutlookSpy - Outlook, CDO ... Set objAddressEntries = AddrList.AddressEntries ...
    (microsoft.public.outlook.program_vba)

Loading