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