Article View: borland.public.cppbuilder.internet.socket
Article #904Re: Sending BMP over Indy 9
From: Skaarak
Date: Thu, 23 Aug 2007 20:12
Date: Thu, 23 Aug 2007 20:12
21 lines
1725 bytes
1725 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:46cdd181$1@newsgroups.borland.com... > > "Skaarak" <skaarak@NOakamailSPAM.com> wrote in message > news:46cdbcc9$1@newsgroups.borland.com... > >> I'm trying to send a BMP from one to the other, but I seem to >> be having issues and I was wondering if anyone had any pointers. > > On the client side, you are not adjusting the TStream::Position property > back to 0 after ReadStream() exits, so there is nothing for > TBitmap::LoadFromStream() to load. > Thanks for the thought. I set the position to be 0 after the read stream, and I do have a small (very small) portion of the BMP. Do I need to set the position to 0 after I SaveToStream (from the BMP)? Is my 'ms->Size' the correct value for that portion of the call? -Cory
Technical Details
Message-ID:
<46cdea2e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46cdbcc9$1@newsgroups.borland.com> <46cdd181$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,76a7f9651a366cc8 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Skaarak" <skaarak@NOakamailSPAM.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <46cdbcc9$1@newsgroups.borland.com> <46cdd181$1@newsgroups.borland.com> Subject: Re: Sending BMP over Indy 9 Date: Thu, 23 Aug 2007 14:12:32 -0600 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 63.231.79.30 Message-ID: <46cdea2e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1187899950 63.231.79.30 (23 Aug 2007 13:12:30 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail