Hi,

I have a working WebSockets server for ICS, which I plan to share.
It is implemented initially in Delphi 7. Now I try to port it to BDS2010
and have some issues with strings.

First, I replaced all 'string's with 'AnsiString's, and this seems working as
expected. But Chr function produces a problem. If I have an AnsiString
str, and try to call str := Chr(b), where b is Byte with value 129, I get
the symbol '?', which should normally be another "non-standard" so to
speak character.

So the question is, how to use Chr in BDS without any "smart"
interferences, or how can I pack bytes in a AnsiString without using
Chr?

Thanks in advance,
Stan
--
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