Hello Dominique,

Saturday, February 9, 2008, 8:42:46 PM, you wrote:

DL> Marco van de Voort wrote:
>>>   I've just been trying to compile some code that makes use of Zlib and
>>> when I try to compile it from within Lazarus I get the following error
>>>
DL> Ok, but shouldn't it work with both?
DL> Are there any plans to update paszlib to a more recent version of zlib?

Yes, and it works (I'm using both with a $DEFINE) but the zlib needs
zlib1.dll which is AFAIK the regular zlib.dll renamed (reason
unknown).

{$ifdef netware}  {zlib.nlm comes with netware6}
  libz='zlib';
{$else}
  {$ifdef windows}
    libz='zlib1';
  {$else windows}
    libz='z';
  {$endif windows}
{$endif}

paszlib is 1.1.2 meanwhile zlib is 1.1.3 and AFAIK the difference is
related to a NULL pointer in the 'C' version which may be present or
not in the Pascal version, but as it has not been updated I think that
the paszlib is not affected by the bug.

-- 
Best regards,
 JoshyFun                            mailto:[EMAIL PROTECTED]

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to