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