Hello Gary,

You must be using an older ICS version.
 
> procedure THttpTestForm.PostOrPut(Request: THttpRequest);
> var
>    DataOut : TMemoryStream;
>    DataIn  : TFileStream;
>    Buf     : String;

[..]

> if Length(Buf) > 0 then      { Check if some data to post }
>    DataOut.Write(Buf[1], Length(Buf));

This was a Unicode bug in the demo, fixed in one of the last 
versions downloadable here:
http://wiki.overbyte.be/wiki/index.php/FAQ#How_to_get_ICS

POST-ing Unicode was not realy a good idea ;)  
 
Simply make "Buf" an AnsiString and the demo should work.

--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to