[EMAIL PROTECTED] wrote: > I noticed that it is not initialized anywhere, which > means that its going to be False by default > (supposedly). Perhaps compiler optimizations will > cause it to be stored in a cpu register and without > initialization may not be guaranteed to be 0 (false).
I think it was the intention to have it FALSE=NULL by default. If so, in the constructor of TCustomLineWSocket there should be added a line "FLineMode := False;" -- Arno Garrels > >> ------- Original Message ------- >>> From : Arno Garrels[mailto:[EMAIL PROTECTED] >> Sent : 12/3/2007 4:38:28 PM >> To : [email protected] >> Cc : >> Subject : RE: Re: [twsocket] TWSocket transliterating tabs to spaces >> (nevermind) >> > >[EMAIL PROTECTED] wrote: >> Hello: >> Nevermind my last message. > > Too late ;-) But it should be realy made the default > value. > FLineEdit seems not being initialized correctly > allways, at > least not by the Delphi 7 compiler, maybe when > Optimization > is turned off ? > > -- > Arno Garrels > > > Like an idiot, I set >> LineEdit mode to True by mistake. I made this change >> inadvertently today, which explains why I didn't >> notice it before. >> >> Sorry, >> -dZ. >> >> >>> ------- Original Message ------- >>>> From : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] >>> Sent : 12/3/2007 4:09:17 PM >>> To : [email protected] >>> Cc : >>> Subject : RE: [twsocket] TWSocket transliterating tabs to spaces >>> (?!) >>> >> >Hello: >> I just noticed something very bizarre: My client >> application sends text data using TWSocket to a >> TWSocketServer server application, and leading tabs >> are transliterated into spaces when they arrive! >> >> I've traced a particular string all the way until >> TWSocket puts it in its internal buffer to send and >> it still contains a #09 char at byte position 0. >> However, tracing the OnDataAvailable event of the >> receiving TWSocketClient, ReceiveStr returns the same >> string but now it has spaces at the beginning and no >> tab character. >> >> I don't recall ever seeing this before. Perhaps >> I'm missing an obscure setting or made a stupid >> mistake? Can anybody offer any suggestions? >> >> -dZ. -- 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
