Forum > Packages and Libraries
Zlib package for Lazarus 3.6?
dpap:
I am porting my app from Delphi to Lazarus but I need the compression/decompression functions that I used in Delphi with Zlibx.
Is there the analog package for Lazarus 3.6?
BSaidus:
Yes, check in the fpc/units/i386-win32/zlib/ and \fpc\sources\packages\zlib\ for source.
You can use the one that comes with delphi, with some modifs
dpap:
I Tried with modifications of Delphi unit but failed. In my FPC installation dir I found only 3 files for i386 (Zlib.fpm, zlib.o, zlib.ppu).
How can I use them?
TRon:
--- Quote from: dpap on January 27, 2025, 07:24:57 am ---How can I use them?
--- End quote ---
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---uses zlib, ...;see also https://www.freepascal.org/daily/packages/zlib/zlib/index-5.html
marcov:
zlib is a header for an external zlib (mostly on *nix).
However a translation of zlib to Pascal, paszlib is most commonly used, as it has no extra dependencies
Navigation
[0] Message Index
[#] Next page