Further question to "#define STATE_NULL 0x0000"

Joined
Jun 29, 2005
Messages
11
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top