>>> Move((PChar(Data) + Offset)^, (PChar(Buf) + WrCount)^, Copied); > I always "loved" the Pascal way of obfuscating code with those > complicated mix of @ pchar ^ and other funny notation as soon as you > need to play with pointers and direct data memory access...
FYI, it is the same notation in C/C++: *((char *)Data + Offset) You have to tell the compiler the correct type of pointer so that he does the correct calculation. If Data argument is defined as PChar (char * in C/C++) then in both language the notation is a little bit more clear: Delphi: Data[Offset] C/C++: Data[Offset] -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be