<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Please help. I am using Delphi 5's zlib procedure </font>
CompressBuf(src,SrcLen, Dest, DestLen);<br>
to compress data to be decompressed by FPC's paszlib unit, but I don't
know which one of the many procedure is the right right to use?<br>
I tried uncompress(Dest, DestLen, Src, SrcLen) but it is obviously
wrong.<br>
It is urgent. Thanks a lot in advance.<br>
<br>
Dennis<br>
<br>
<br>
Reinier Olislagers wrote:
<blockquote cite="mid:51F61E62.3010301@gmail.com" type="cite">
<pre wrap="">On 28/07/2013 22:53, Mark Morgan Lloyd wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Michael Van Canneyt wrote:
</pre>
<blockquote type="cite">
<pre wrap="">There are 3 options:
paszlib.pas pascal implementation of libz.
zstream.pp stream interface, uses paszlib.
zlib.pp native interface to C libz library.
</pre>
</blockquote>
<pre wrap="">
Is any one of those more "natural" than the rest, because e.g. it's
already used for GIF handling?
</pre>
</blockquote>
<pre wrap="">
paszlib/zstream
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/paszlib">http://wiki.lazarus.freepascal.org/paszlib</a>
used for zip support in FPC (TZipper).
_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a>
-----
No virus found in this message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
Version: 2013.0.3349 / Virus Database: 3209/6528 - Release Date: 07/28/13
</pre>
</blockquote>
</body>
</html>