C'est marrant comme on peut trouver des solutions à la con... Je répète : A-LA-CON :
typedef struct{ // size, offset 32 bits, offset 64 bits
int nCount; // 4, 0, 0
short nMode; // 2, 4, 4 <- ???
sHue sColor; // 8, 8, 8
char* pTest; // 4, 16, 16
__declspec(align(8))
char aData[10]; // 10, 24, 24
}sStack,*psStack; // 28 (real) -> 40 (sizeof 32 bits), 40 (sizeof 64 bits)
Nan mais des fois... Mais allez comprendre

Seulement ça aurait été trop beau, ça ne marche pas sur tous les compilateurs, quelqu'un aurait un truc portable façon
#pragma pack, mais qui fonctionne ?
Kochise