cannam@89: Building instructions for the DLL versions of Zlib 1.2.7 cannam@89: ======================================================== cannam@89: cannam@89: This directory contains projects that build zlib and minizip using cannam@89: Microsoft Visual C++ 9.0/10.0. cannam@89: cannam@89: You don't need to build these projects yourself. You can download the cannam@89: binaries from: cannam@89: http://www.winimage.com/zLibDll cannam@89: cannam@89: More information can be found at this site. cannam@89: cannam@89: cannam@89: cannam@89: cannam@89: cannam@89: Build instructions for Visual Studio 2008 (32 bits or 64 bits) cannam@89: -------------------------------------------------------------- cannam@89: - Uncompress current zlib, including all contrib/* files cannam@89: - Compile assembly code (with Visual Studio Command Prompt) by running: cannam@89: bld_ml64.bat (in contrib\masmx64) cannam@89: bld_ml32.bat (in contrib\masmx86) cannam@89: - Open contrib\vstudio\vc9\zlibvc.sln with Microsoft Visual C++ 2008 cannam@89: - Or run: vcbuild /rebuild contrib\vstudio\vc9\zlibvc.sln "Release|Win32" cannam@89: cannam@89: Build instructions for Visual Studio 2010 (32 bits or 64 bits) cannam@89: -------------------------------------------------------------- cannam@89: - Uncompress current zlib, including all contrib/* files cannam@89: - Open contrib\vstudio\vc10\zlibvc.sln with Microsoft Visual C++ 2010 cannam@89: cannam@89: cannam@89: Important cannam@89: --------- cannam@89: - To use zlibwapi.dll in your application, you must define the cannam@89: macro ZLIB_WINAPI when compiling your application's source files. cannam@89: cannam@89: cannam@89: Additional notes cannam@89: ---------------- cannam@89: - This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built cannam@89: by Gilles Vollant from the zlib 1.1.x sources, and distributed at cannam@89: http://www.winimage.com/zLibDll cannam@89: It uses the WINAPI calling convention for the exported functions, and cannam@89: includes the minizip functionality. If your application needs that cannam@89: particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll. cannam@89: cannam@89: - The new DLL was renamed because there exist several incompatible cannam@89: versions of zlib.dll on the Internet. cannam@89: cannam@89: - There is also an official DLL build of zlib, named zlib1.dll. This one cannam@89: is exporting the functions using the CDECL convention. See the file cannam@89: win32\DLL_FAQ.txt found in this zlib distribution. cannam@89: cannam@89: - There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol cannam@89: has a slightly different effect. To avoid compatibility problems, do cannam@89: not define it here. cannam@89: cannam@89: cannam@89: Gilles Vollant cannam@89: info@winimage.com