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