Re: Phix: get_struct_size() returns eventually wrong size
- Posted by andreasWagner in September
- 473 views
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.