You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zipOpen2 and unzOpen2 currently cast a zlib_filefunc_def* to mz_stream_vtbl*
Since those structs contain different functions with different parameters in a different order, this will crash the calling application at best and corrupt data (unzOpen2 actually calling into a function that opens the file for writing) at worst.
The functions should either be implemented in a compatible way, or at least removed so users don't think this is going to work before actually running into something that calls the functions.
I have implemented the ioapi support. Only thing missing is wide-character ioapi support for Windows. If somebody really cares about that they can figure it out themselves.
Activity
Add support for ioapi in compatibility layer. #566
nmoinvaz commentedon May 8, 2021
I have implemented the ioapi support. Only thing missing is wide-character ioapi support for Windows. If somebody really cares about that they can figure it out themselves.
gvollant commentedon May 8, 2021
my very old code was
If I remember, that was for WINRT which was not compatible with Ansi API....