Like Rob Kennedy just said, if you're talking about normal Delphi
TStream-descendants (TMemoryStream, TFileStream, TBlobStream) you 
can use the standard CopyFrom-function otherwise you might need
an intermediate stream (for .Net, but I don't know .Net, so...).

Win32 Delphi: MyBlobStream.CopyFrom(MyMemStream, 0) will copy the
entire MyMemStream (TMemoryStream) into MyBlobStream (TBlobStream).


Greetz,

Peter.

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bob Stanton
> Sent: Thursday, November 10, 2005 11:47 PM
> To: [email protected]
> Subject: Re: [delphi-en] Streams
> 
> 
> Peter Luijer wrote:
> 
> > You mean: OneStream.CopyFrom(OtherStream); ?
> >
> > Greetz,
> >
> > Peter.
> >
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of heromed
> > > Sent: Thursday, November 10, 2005 9:12 PM
> > > To: [email protected]
> > > Subject: [delphi-en] Streams
> > >
> > >
> > > Is there a way to copy different type of streams, say a 
> MemorySream to
> > > a BlobStream ?

>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.362 / Virus Database: 267.12.8/166 - Release Date:
10/11/2005
>  
>
Yes, but of different stremtypes/ Ie. MemoryStream to BlobStream.

Regards

Bob Stanton



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to