Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Nov : Re: ICS Webserver display an image

www.cryer.info
Managed Newsgroup Archive

Re: ICS Webserver display an image

Subject:Re: ICS Webserver display an image
Posted by:"Bob D." (bo..@demo.it)
Date:Thu, 22 Nov 2007 02:02:53

Hello,

actually the problem wasn't that one.
I had to add a header and not send the image directly.

Thanks :)


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4744a20f$1@newsgroups.borland.com...
>
> "Bob D." <bobd@demo.it> wrote in message
> news:47447730$1@newsgroups.borland.com...
>
>> I'm doing something wrong?
>
> You are freeing the memory stream.  Don't do that.  The data is not
> actually sent until after the event handler exits, so the stream has to
> remain valid during that time.  The server will free the stream
> automatically after it is finished using it.
>
>
> Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive