[Zlib-devel] New compilation to test

Cosmin Truta cosmin at cs.toronto.edu
Sat Oct 4 14:04:53 EDT 2003


On Sat, 4 Oct 2003, Gilles Vollant wrote:

> The only problem with pure VC7.1 environement is they depends on
> msvcr71.dll. VC6 header depends on msvcrt.dll (widely distributed)

It's too bad that VC7.1 ties you to msvcr71.dll. This DLL scarcely
exists on today's Windows installations. Even worse: according to its
license permissions, you cannot redistribute msvcr71.dll, download it
and/or install it separately, but only as a part of the Microsoft.NET
platform.

So if the user refuses to install Microsoft.NET, for any reason, then
msvcr71.dll will be absent from that user's system.

There is an interim solution: if the person who builds zlib1.dll has
both VC6 and VC7.1, then it is possible to link it to msvcrt.dll as
follows:

set BIN=\path\to\vc71\bin
set INCLUDE=\path\to\vc6\include
set LIB=\path\to\vc6\lib
nmake -f win32\Makefile.msc

It is important to set *both* INCLUDE and LIB variables to the VC6
directories.


Best regards,
Cosmin




More information about the Zlib-devel mailing list