Hi all.
what is the best way to load a class into a buffer ?
i.e. I have a Class that I need to add to a buffer to send across a TCP/IP connection.
I have been doing socket.SendBuf(msg,sizeOf(msg)); but this only sends garbage.
Am I better to load each of the class items into the buffer char by char then send the
buffer ??
I also tried MOVE() but it had the same effect.
Cheers, Jeremy Coulter
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"