1*6164d288SchristosBuilding instructions for the DLL versions of Zlib 1.2.13 2aaf4ece6Schristos======================================================== 3aaf4ece6Schristos 4aaf4ece6SchristosThis directory contains projects that build zlib and minizip using 5de1ce4f6SchristosMicrosoft Visual C++ 9.0/10.0. 6aaf4ece6Schristos 7aaf4ece6SchristosYou don't need to build these projects yourself. You can download the 8aaf4ece6Schristosbinaries from: 9aaf4ece6Schristos http://www.winimage.com/zLibDll 10aaf4ece6Schristos 11aaf4ece6SchristosMore information can be found at this site. 12aaf4ece6Schristos 13aaf4ece6Schristos 14aaf4ece6Schristos 15de1ce4f6Schristos 16de1ce4f6Schristos 17de1ce4f6SchristosBuild instructions for Visual Studio 2008 (32 bits or 64 bits) 18aaf4ece6Schristos-------------------------------------------------------------- 19de1ce4f6Schristos- Decompress current zlib, including all contrib/* files 20de1ce4f6Schristos- Open contrib\vstudio\vc9\zlibvc.sln with Microsoft Visual C++ 2008 21de1ce4f6Schristos- Or run: vcbuild /rebuild contrib\vstudio\vc9\zlibvc.sln "Release|Win32" 22aaf4ece6Schristos 23de1ce4f6SchristosBuild instructions for Visual Studio 2010 (32 bits or 64 bits) 24de1ce4f6Schristos-------------------------------------------------------------- 25de1ce4f6Schristos- Decompress current zlib, including all contrib/* files 26de1ce4f6Schristos- Open contrib\vstudio\vc10\zlibvc.sln with Microsoft Visual C++ 2010 27aaf4ece6Schristos 28de1ce4f6SchristosBuild instructions for Visual Studio 2012 (32 bits or 64 bits) 29de1ce4f6Schristos-------------------------------------------------------------- 30de1ce4f6Schristos- Decompress current zlib, including all contrib/* files 31de1ce4f6Schristos- Open contrib\vstudio\vc11\zlibvc.sln with Microsoft Visual C++ 2012 32de1ce4f6Schristos 33de1ce4f6SchristosBuild instructions for Visual Studio 2013 (32 bits or 64 bits) 34de1ce4f6Schristos-------------------------------------------------------------- 35de1ce4f6Schristos- Decompress current zlib, including all contrib/* files 36de1ce4f6Schristos- Open contrib\vstudio\vc12\zlibvc.sln with Microsoft Visual C++ 2013 37de1ce4f6Schristos 38de1ce4f6SchristosBuild instructions for Visual Studio 2015 (32 bits or 64 bits) 39de1ce4f6Schristos-------------------------------------------------------------- 40de1ce4f6Schristos- Decompress current zlib, including all contrib/* files 41de1ce4f6Schristos- Open contrib\vstudio\vc14\zlibvc.sln with Microsoft Visual C++ 2015 42aaf4ece6Schristos 43aaf4ece6Schristos 44aaf4ece6SchristosImportant 45aaf4ece6Schristos--------- 46aaf4ece6Schristos- To use zlibwapi.dll in your application, you must define the 47aaf4ece6Schristos macro ZLIB_WINAPI when compiling your application's source files. 48aaf4ece6Schristos 49aaf4ece6Schristos 50aaf4ece6SchristosAdditional notes 51aaf4ece6Schristos---------------- 52aaf4ece6Schristos- This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built 53aaf4ece6Schristos by Gilles Vollant from the zlib 1.1.x sources, and distributed at 54aaf4ece6Schristos http://www.winimage.com/zLibDll 55aaf4ece6Schristos It uses the WINAPI calling convention for the exported functions, and 56aaf4ece6Schristos includes the minizip functionality. If your application needs that 57aaf4ece6Schristos particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll. 58aaf4ece6Schristos 59aaf4ece6Schristos- The new DLL was renamed because there exist several incompatible 60aaf4ece6Schristos versions of zlib.dll on the Internet. 61aaf4ece6Schristos 62aaf4ece6Schristos- There is also an official DLL build of zlib, named zlib1.dll. This one 63aaf4ece6Schristos is exporting the functions using the CDECL convention. See the file 64aaf4ece6Schristos win32\DLL_FAQ.txt found in this zlib distribution. 65aaf4ece6Schristos 66aaf4ece6Schristos- There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol 67aaf4ece6Schristos has a slightly different effect. To avoid compatibility problems, do 68aaf4ece6Schristos not define it here. 69aaf4ece6Schristos 70aaf4ece6Schristos 71aaf4ece6SchristosGilles Vollant 72aaf4ece6Schristosinfo@winimage.com 73de1ce4f6Schristos 74de1ce4f6SchristosVisual Studio 2013 and 2015 Projects from Sean Hunt 75de1ce4f6Schristosseandhunt_7@yahoo.com 76