In Microsoft visual studio 2005 you need to go into the project options to change the “Struct Member Alignment” to be 1 byte when using the fat client. They use a more liberal 4 bytes when compiling the server code. This puts a /Zp1 or /Zp4 in the linking command line.
If you don’t do this, when you look at your variables in the viewer, they’ll be missing some chars at the front.
No comments:
Post a Comment