VirtualBox

source: vbox/trunk/src/libs/zlib-1.2.1/contrib/vstudio/readme.txt@ 29945

Last change on this file since 29945 was 6392, checked in by vboxsync, 17 years ago

export libpng and zlib so Windows and OS/2 builds cleanly.

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1Building instructions for the DLL versions of Zlib 1.21
2=======================================================
3
4This directory contains projects that build zlib and minizip using
5Microsoft Visual C++ 7.0/7.1.
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
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).
25
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.
52
53
54Gilles Vollant
55[email protected]
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette