source: trunk/minix/lib/zlib-1.2.3/contrib/vstudio/readme.txt@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

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