summaryrefslogtreecommitdiff
path: root/contrib/vstudio/readme.txt
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:22:37 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:22:37 -0700
commit4b5a43a219d51066c01ff2ab86af18b967f2d0dd (patch)
tree4dcaf0cd18751d04cf638a9a6ec521990d4f2e90 /contrib/vstudio/readme.txt
parent086e982175da84b3db958191031380794315f95f (diff)
downloadzlib-4b5a43a219d51066c01ff2ab86af18b967f2d0dd.tar.gz
zlib-4b5a43a219d51066c01ff2ab86af18b967f2d0dd.tar.bz2
zlib-4b5a43a219d51066c01ff2ab86af18b967f2d0dd.zip
zlib 1.2.0.5v1.2.0.5
Diffstat (limited to 'contrib/vstudio/readme.txt')
-rw-r--r--contrib/vstudio/readme.txt55
1 files changed, 44 insertions, 11 deletions
diff --git a/contrib/vstudio/readme.txt b/contrib/vstudio/readme.txt
index c22ec34..3a4b85c 100644
--- a/contrib/vstudio/readme.txt
+++ b/contrib/vstudio/readme.txt
@@ -1,21 +1,54 @@
1For create the 16 and 32 bits DLL of Zlib 1.20 1Building instructions for the DLL versions of Zlib 1.21
2=======================================================
2 3
3For the 16 bits : 4This directory contains projects that build zlib and minizip using
4unzip zlib120.zip and copy file from contrib\vstudio\vc15_16 and from contrib\minizip in the same directory 5Microsoft Visual C++ 7.0/7.1.
5open zlib16.mak with Microsoft Visual C++ 1.52
6 6
7You don't need to build these projects yourself. You can download the
8binaries from:
9 http://www.winimage.com/zLibDll
7 10
8For the 32 bits : 11More information can be found at this site.
9unzip zlib120.zip and copy file from contrib\vstudio\vc70_32 and from contrib\minizip in the same directory
10You can also need unzip http://www.winimage.com/zLibDll/crtdll.zip
11 12
12If you are using x86, use target Release
13open zlibvc.sln with Microsoft Visual C++ 7.0 (Visual Studio .net)
14 13
14Build instructions
15------------------
16- Unzip zlib*.zip and copy the files from contrib\vstudio\vc7,
17 from contrib\vstudio\masmx86 and from contrib\minizip into the same
18 directory.
19- Download the crtdll library from
20 http://www.winimage.com/zLibDll/crtdll.zip
21 Unzip crtdll.zip to extract crtdll.lib.
22- If you are using x86, use the Release target.
23- Open zlibvc.sln with Microsoft Visual C++ 7.0 or 7.1
24 (Visual Studio .Net 2002 or 2003).
15 25
16Note : You don't need recompile yourself. There is compiled .LIB in
17 http://www.winimage.com/zLibDll . See this page for more information
18 26
27Important
28---------
29- To use zlibwapi.dll in your application, you must define the
30 macro ZLIB_WINAPI when compiling your application's source files.
31
32
33Additional notes
34----------------
35- This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built
36 by Gilles Vollant from the zlib 1.1.x sources, and distributed at
37 http://www.winimage.com/zLibDll
38 It uses the WINAPI calling convention for the exported functions, and
39 includes the minizip functionality. If your application needs that
40 particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll.
41
42- The new DLL was renamed because there exist several incompatible
43 versions of zlib.dll on the Internet.
44
45- There is also an official DLL build of zlib, named zlib1.dll. This one
46 is exporting the functions using the CDECL convention. See the file
47 win32\DLL_FAQ.txt found in this zlib distribution.
48
49- There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol
50 has a slightly different effect. To avoid compatibility problems, do
51 not define it here.
19 52
20 53
21Gilles Vollant 54Gilles Vollant