readme.txt revision 1.1 1 1.1 christos Building instructions for the DLL versions of Zlib 1.2.3
2 1.1 christos ========================================================
3 1.1 christos
4 1.1 christos This directory contains projects that build zlib and minizip using
5 1.1 christos Microsoft Visual C++ 7.0/7.1, and Visual C++ .
6 1.1 christos
7 1.1 christos You don't need to build these projects yourself. You can download the
8 1.1 christos binaries from:
9 1.1 christos http://www.winimage.com/zLibDll
10 1.1 christos
11 1.1 christos More information can be found at this site.
12 1.1 christos
13 1.1 christos
14 1.1 christos Build instructions for Visual Studio 7.x (32 bits)
15 1.1 christos --------------------------------------------------
16 1.1 christos - Uncompress current zlib, including all contrib/* files
17 1.1 christos - Download the crtdll library from
18 1.1 christos http://www.winimage.com/zLibDll/crtdll.zip
19 1.1 christos Unzip crtdll.zip to extract crtdll.lib on contrib\vstudio\vc7.
20 1.1 christos - Open contrib\vstudio\vc7\zlibvc.sln with Microsoft Visual C++ 7.x
21 1.1 christos (Visual Studio .Net 2002 or 2003).
22 1.1 christos
23 1.1 christos Build instructions for Visual Studio 2005 (32 bits or 64 bits)
24 1.1 christos --------------------------------------------------------------
25 1.1 christos - Uncompress current zlib, including all contrib/* files
26 1.1 christos - For 32 bits only: download the crtdll library from
27 1.1 christos http://www.winimage.com/zLibDll/crtdll.zip
28 1.1 christos Unzip crtdll.zip to extract crtdll.lib on contrib\vstudio\vc8.
29 1.1 christos - Open contrib\vstudio\vc8\zlibvc.sln with Microsoft Visual C++ 8.0
30 1.1 christos
31 1.1 christos Build instructions for Visual Studio 2005 64 bits, PSDK compiler
32 1.1 christos ----------------------------------------------------------------
33 1.1 christos at the time of writing this text file, Visual Studio 2005 (and
34 1.1 christos Microsoft Visual C++ 8.0) is on the beta 2 stage.
35 1.1 christos Using you can get the free 64 bits compiler from Platform SDK,
36 1.1 christos which is NOT a beta, and compile using the Visual studio 2005 IDE
37 1.1 christos see http://www.winimage.com/misc/sdk64onvs2005/ for instruction
38 1.1 christos
39 1.1 christos - Uncompress current zlib, including all contrib/* files
40 1.1 christos - start Visual Studio 2005 from a platform SDK command prompt, using
41 1.1 christos the /useenv switch
42 1.1 christos - Open contrib\vstudio\vc8\zlibvc.sln with Microsoft Visual C++ 8.0
43 1.1 christos
44 1.1 christos
45 1.1 christos Important
46 1.1 christos ---------
47 1.1 christos - To use zlibwapi.dll in your application, you must define the
48 1.1 christos macro ZLIB_WINAPI when compiling your application's source files.
49 1.1 christos
50 1.1 christos
51 1.1 christos Additional notes
52 1.1 christos ----------------
53 1.1 christos - This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built
54 1.1 christos by Gilles Vollant from the zlib 1.1.x sources, and distributed at
55 1.1 christos http://www.winimage.com/zLibDll
56 1.1 christos It uses the WINAPI calling convention for the exported functions, and
57 1.1 christos includes the minizip functionality. If your application needs that
58 1.1 christos particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll.
59 1.1 christos
60 1.1 christos - The new DLL was renamed because there exist several incompatible
61 1.1 christos versions of zlib.dll on the Internet.
62 1.1 christos
63 1.1 christos - There is also an official DLL build of zlib, named zlib1.dll. This one
64 1.1 christos is exporting the functions using the CDECL convention. See the file
65 1.1 christos win32\DLL_FAQ.txt found in this zlib distribution.
66 1.1 christos
67 1.1 christos - There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol
68 1.1 christos has a slightly different effect. To avoid compatibility problems, do
69 1.1 christos not define it here.
70 1.1 christos
71 1.1 christos
72 1.1 christos Gilles Vollant
73 1.1 christos info (a] winimage.com
74