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
I'm having a problem with the zip functions in zlib, can you help?
There are no zip functions in zlib. You are probably using minizip by
Giles Vollant, which is found in the contrib directory of zlib. It is not
part of zlib. In fact none of the stuff in contrib is part of zlib. The
files in there are not supported by the zlib authors. You need to contact
the authors of the respective contribution for help.
earlier code snippet (C++/windows):
{
CFileException fe;
CStdioFile fileTest;
fileTest.Open(zipfilename, CFile:modeReadWrite | CFile::shareDenyWrite, &fe);
// additional code
unzFile uf = unzOpen(zipfilename); // function call succeed
}
update code that is not working:
{
CFileException fe;
CStdioFile fileTest;
fileTest.Open(zipfilename, CFile:modeReadWrite | CFile::shareDenyWrite, &fe);
// additional code
zlib_filefunc64_def ffunc;
fill_win32_filefunc64W(&ffunc);
uf = unzOpe2_64(zipfilename, & ffunc); //function call fails
}
The text was updated successfully, but these errors were encountered: