Open awinatri opened 11 months ago
@madler: Can you look this ticket?
@madler: Can you look this ticket?
I may be reading this wrong, but from https://github.com/madler/zlib/blob/develop/FAQ#L344:
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.
If I then check https://github.com/madler/zlib/blob/develop/contrib/minizip/unzip.c#L5:
Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
Apart from contacting him through the means listed on that web page, you can also try contacting him here on GitHub: https://github.com/gvollant.
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 }