Yep it goes on the stream and off the stream fine. and binary information
sent using the same method works as well but strings don't seem to like
being sent through the socket?? Just wondering if there was a way of getting
the binary dump of a string whack it through and then reassign to a string.
If I save the string to a tstringlist, save that to a file load in a file
to a filestream send that through and reverse the process it works.... go
figure?
Matt.
----- Original Message -----
From: "Peter Hyde" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 2:10 PM
Subject: Re: [DUG]: string to binary and back.
> Matt asked:
>
> > Does anyone know how I can write a string to a memory stream and read it
> > back off without having it distort. For some reason when I do this and
> > send it through a socket connection it comes out all munted.
>
> Dumb question: can you get it back unmunted if you DON'T send it
> through a socket connection first?
>
>
>
> cheers,
> peter
>
> ============================================
> Peter Hyde, WebCentre Ltd & SPIS Ltd, Christchurch, New Zealand
> * Web automation for online periodicals: http://TurboPress.com
> * TurboNote: http://TurboPress.com/tbnote.htm
> -- small, FREE and very handy
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz