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