Board index » delphi » IStream write TStream Buffer

IStream write TStream Buffer

Hi,

I need to save a Stream ( TMemoryStream ) to a Structured Storage Document
stream ( IStream ).

In the IStream.Wrtie function how would I pass the TStream in as the buffer

Nic

 

Re:IStream write TStream Buffer


In article <4uZU1.5$Jw3.15...@nsw.nnrp.telstra.net>,
   "Nic Roche" <n...@net-dev.com.au> wrote:

Quote
>Hi,

>I need to save a Stream ( TMemoryStream ) to a Structured
Storage Document
>stream ( IStream ).

>In the IStream.Wrtie function how would I pass the TStream
in as the buffer

>Nic

Look at the Memory property (a pointer to the beginning of
the memory stream).

REMOVE nospam. in my address

Please note our recent change of area code from
714 to 949

Quoc Thang NGUYEN
Laboratory of Cellular and
Molecular Neurobiology
Dept. of Psychobiology
University of California, Irvine
Irvine, CA92717 USA
Ph: (949) 824-4730
Fx: (949) 824-3522

Other Threads