thanks, Nicholas and cody.
but as far as i know, the following directive
" #pragma pack(push,4)"
will ensure that: when the data are transferred through
networks to other platforms, the const value "STATE_NULL"
will still be regarded as a 4-byte value in the stack,
namely 0x0000. I dont know whether other statements are
needed or it is default that on every machine this hex value will
be treated as 4-byte. Is that not in 2-byte?
thanks a lot
--
xudeutschPosted from
http://www.pcreview.co.uk/ newsgroup acces