- How to compile zLib 1.2.8 (WINAPI / WAPI / STDCALL version)
- The latest version of the zLib source code (http://zlib.net/zlib1211.zip at the time of this writing).
- The express version of Visual Studio 2012, freely downloadable from http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products
- Creating a Self Extracting Executable
This is not a full-blown article - just a quick HOWTO for people who require the latest version of zLib and want to use it from a language (like classic VB) that requires a standard WinAPI interface.
By default, zLib uses C calling conventions (CDECL). Gilles Vollant has helpfully provided an STDCALL version of zLib in the past, but his site only provides version 1.2.5, which dates back to January 2012. zLib is currently on version 1.2.8.
Gilles has contributed his WAPI fixes to the core zLib distribution so that anyone can compile it themselves. To do this, you will need to download:
Once both of those are downloaded (and updated, as VS 2012 will require you to install several service packs), follow these steps to compile zLib yourself:
A class that allows you to create self extracting executables for use in distribution or setup programs.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
This is a paragraph.
No comments:
Post a Comment