#pragma pack(2)有这个试试
#pragma pack(n)
This pragma will affect following declaration until next pack(n) exists, forcing the maximum alignment of each field to be the value represented by n. Valid values for n are 1, 2, 4, 8, and 16 bytes.
详情回复
发表于 2014-7-3 13:06
#pragma pack(n)
This pragma will affect following declaration until next pack(n) exists, forcing the maximum alignment of each field to be the value represented by n. Valid values for n are 1, 2, 4, 8, and 16 bytes.