annotate src/zlib-1.2.7/contrib/vstudio/readme.txt @ 169:223a55898ab9 tip default

Add null config files
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 02 Mar 2020 14:03:47 +0000
parents 8a15ff55d9af
children
rev   line source
cannam@89 1 Building instructions for the DLL versions of Zlib 1.2.7
cannam@89 2 ========================================================
cannam@89 3
cannam@89 4 This directory contains projects that build zlib and minizip using
cannam@89 5 Microsoft Visual C++ 9.0/10.0.
cannam@89 6
cannam@89 7 You don't need to build these projects yourself. You can download the
cannam@89 8 binaries from:
cannam@89 9 http://www.winimage.com/zLibDll
cannam@89 10
cannam@89 11 More information can be found at this site.
cannam@89 12
cannam@89 13
cannam@89 14
cannam@89 15
cannam@89 16
cannam@89 17 Build instructions for Visual Studio 2008 (32 bits or 64 bits)
cannam@89 18 --------------------------------------------------------------
cannam@89 19 - Uncompress current zlib, including all contrib/* files
cannam@89 20 - Compile assembly code (with Visual Studio Command Prompt) by running:
cannam@89 21 bld_ml64.bat (in contrib\masmx64)
cannam@89 22 bld_ml32.bat (in contrib\masmx86)
cannam@89 23 - Open contrib\vstudio\vc9\zlibvc.sln with Microsoft Visual C++ 2008
cannam@89 24 - Or run: vcbuild /rebuild contrib\vstudio\vc9\zlibvc.sln "Release|Win32"
cannam@89 25
cannam@89 26 Build instructions for Visual Studio 2010 (32 bits or 64 bits)
cannam@89 27 --------------------------------------------------------------
cannam@89 28 - Uncompress current zlib, including all contrib/* files
cannam@89 29 - Open contrib\vstudio\vc10\zlibvc.sln with Microsoft Visual C++ 2010
cannam@89 30
cannam@89 31
cannam@89 32 Important
cannam@89 33 ---------
cannam@89 34 - To use zlibwapi.dll in your application, you must define the
cannam@89 35 macro ZLIB_WINAPI when compiling your application's source files.
cannam@89 36
cannam@89 37
cannam@89 38 Additional notes
cannam@89 39 ----------------
cannam@89 40 - This DLL, named zlibwapi.dll, is compatible to the old zlib.dll built
cannam@89 41 by Gilles Vollant from the zlib 1.1.x sources, and distributed at
cannam@89 42 http://www.winimage.com/zLibDll
cannam@89 43 It uses the WINAPI calling convention for the exported functions, and
cannam@89 44 includes the minizip functionality. If your application needs that
cannam@89 45 particular build of zlib.dll, you can rename zlibwapi.dll to zlib.dll.
cannam@89 46
cannam@89 47 - The new DLL was renamed because there exist several incompatible
cannam@89 48 versions of zlib.dll on the Internet.
cannam@89 49
cannam@89 50 - There is also an official DLL build of zlib, named zlib1.dll. This one
cannam@89 51 is exporting the functions using the CDECL convention. See the file
cannam@89 52 win32\DLL_FAQ.txt found in this zlib distribution.
cannam@89 53
cannam@89 54 - There used to be a ZLIB_DLL macro in zlib 1.1.x, but now this symbol
cannam@89 55 has a slightly different effect. To avoid compatibility problems, do
cannam@89 56 not define it here.
cannam@89 57
cannam@89 58
cannam@89 59 Gilles Vollant
cannam@89 60 info@winimage.com