www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - windows static zlib

Hi,

I like to link zlib into my application binary for windows (+mingw).

Where do I have to start, or can I just download some lib somewhere?

I tried to download libz1.dll, converted it with implib (from
ftp.digitalmars.com/bup.zip) to libz1.lib.
But when I run the exe the zlib1.dll have to be in the same folder
or I get an error message instead.

Someone suggested building zlib statically with dmc.
But that looks like an long time adventure to figure out in detail. :]
Dec 28 2007