Re: Phix: get_struct_size() returns eventually wrong size

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
andreasWagner said...

with 64bit i have to remove the #pragma pack(1) line to make it work.

Good catch, I didn't check/realise commdlg.h actually contains

#if !defined(_WIN64) 
#include <pshpack1.h>         /* Assume byte packing throughout */ 
#endif 

so I've made that pragma only apply under 32-bit. A new version of cffi.e has been pushed.

Yes, that's it.

Works like expected with 32 and 64bit.

Thank you.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu