Changes in 1.2.10 (2 Jan 2017) - Avoid warnings on snprintf() return value - Fix bug in deflate_stored() for zero-length input - Fix bug in gzwrite.c that produced corrupt gzip files - Remove files to be installed before copying them in Makefile.in - Add warnings when compiling with assembler code Changes in 1.2.9 (31 Dec 2016) - Fix contrib/minizip to permit unzipping with desktop API [Zouzou] - Improve contrib/blast to return unused bytes - Assure that gzoffset() is correct when appending - Improve compress() and uncompress() to support large lengths - Fix bug in test/example.c where error code not saved - Remedy Coverity warning [Randers-Pehrson] - Improve speed of gzprintf() in transparent mode - Fix inflateInit2() bug when windowBits is 16 or 32 - Change DEBUG macro to ZLIB_DEBUG - Avoid uninitialized access by gzclose_w() - Allow building zlib outside of the source directory - Fix bug that accepted invalid zlib header when windowBits is zero - Fix gzseek() problem on MinGW due to buggy _lseeki64 there - Loop on write() calls in gzwrite.c in case of non-blocking I/O - Add --warn (-w) option to ./configure for more compiler warnings - Reject a window size of 256 bytes if not using the zlib wrapper - Fix bug when level 0 used with Z_HUFFMAN or Z_RLE - Add --debug (-d) option to ./configure to define ZLIB_DEBUG - Fix bugs in creating a very large gzip header - Add uncompress2() function, which returns the input size used - Assure that deflateParams() will not switch functions mid-block - Dramatically speed up deflation for level 0 (storing) - Add gzfread(), duplicating the interface of fread() - Add gzfwrite(), duplicating the interface of fwrite() - Add deflateGetDictionary() function - Use snprintf() for later versions of Microsoft C - Fix *Init macros to use z_ prefix when requested - Replace as400 with os400 for OS/400 support [Monnerat] - Add crc32_z() and adler32_z() functions with size_t lengths - Update Visual Studio project files [AraHaan]
79 lines
3.0 KiB
Plaintext
79 lines
3.0 KiB
Plaintext
Building instructions for the DLL versions of Zlib 1.2.10
|
|
========================================================
|
|
|
|
This directory contains projects that build zlib and minizip using
|
|
Microsoft Visual C++ 9.0/10.0.
|
|
|
|
You don't need to build these projects yourself. You can download the
|
|
binaries from:
|
|
http://www.winimage.com/zLibDll
|
|
|
|
More information can be found at this site.
|
|
|
|
|
|
|
|
|
|
|
|
Build instructions for Visual Studio 2008 (32 bits or 64 bits)
|
|
--------------------------------------------------------------
|
|
- Decompress current zlib, including all contrib/* files
|
|
- Compile assembly code (with Visual Studio Command Prompt) by running:
|
|
bld_ml64.bat (in contrib\masmx64)
|
|
bld_ml32.bat (in contrib\masmx86)
|
|
- Open contrib\vstudio\vc9\zlibvc.sln with Microsoft Visual C++ 2008
|
|
- Or run: vcbuild /rebuild contrib\vstudio\vc9\zlibvc.sln "Release|Win32"
|
|
|
|
Build instructions for Visual Studio 2010 (32 bits or 64 bits)
|
|
--------------------------------------------------------------
|
|
- Decompress current zlib, including all contrib/* files
|
|
- Open contrib\vstudio\vc10\zlibvc.sln with Microsoft Visual C++ 2010
|
|
|
|
Build instructions for Visual Studio 2012 (32 bits or 64 bits)
|
|
--------------------------------------------------------------
|
|
- Decompress current zlib, including all contrib/* files
|
|
- Open contrib\vstudio\vc11\zlibvc.sln with Microsoft Visual C++ 2012
|
|
|
|
Build instructions for Visual Studio 2013 (32 bits or 64 bits)
|
|
--------------------------------------------------------------
|
|
- Decompress current zlib, including all contrib/* files
|
|
- Open contrib\vstudio\vc12\zlibvc.sln with Microsoft Visual C++ 2013
|
|
|
|
Build instructions for Visual Studio 2015 (32 bits or 64 bits)
|
|
--------------------------------------------------------------
|
|
- Decompress current zlib, including all contrib/* files
|
|
- Open contrib\vstudio\vc14\zlibvc.sln with Microsoft Visual C++ 2015
|
|
|
|
|
|
Important
|
|
---------
|
|
- To use zlibwapi.dll in your application, you must define the
|
|
macro ZLIB_WINAPI when compiling your application's source files.
|
|
|
|
|
|
Additional notes
|
|
----------------
|
|
- This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built
|
|
by Gilles Vollant from the zlib 1.1.x sources, and distributed at
|
|
http://www.winimage.com/zLibDll
|
|
It uses the WINAPI calling convention for the exported functions, and
|
|
includes the minizip functionality. If your application needs that
|
|
particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll.
|
|
|
|
- The new DLL was renamed because there exist several incompatible
|
|
versions of zlib.dll on the Internet.
|
|
|
|
- There is also an official DLL build of zlib, named zlib1.dll. This one
|
|
is exporting the functions using the CDECL convention. See the file
|
|
win32\DLL_FAQ.txt found in this zlib distribution.
|
|
|
|
- There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol
|
|
has a slightly different effect. To avoid compatibility problems, do
|
|
not define it here.
|
|
|
|
|
|
Gilles Vollant
|
|
info@winimage.com
|
|
|
|
Visual Studio 2013 and 2015 Projects from Sean Hunt
|
|
seandhunt_7@yahoo.com
|