[fpc-pascal] paszlib problem: integer overflow

José Mejuto joshyfun at gmail.com
Thu Nov 14 18:40:55 CET 2013

El 14/11/2013 18:15, Dennis Poon escribió:

> I'd love to just use the paszlib in Lazarus/fpc but I also need the same
> unit for Delphi 5 (Dephi 5 program will compress data and send to linux
> /lazarus/fpc program ) so both sides need to understand the same
> compress/decompress protocol.
> I tried using the lazarus/fpc paszlib unit in Dephi 5 but it does not
> compile. Too many errors.
> The paszlib-sg is the only pascal unit that produces compressed data
> readable by FPC's zstream and zipper units.


Both paszlib implementation are very, very similar, so try to spot the 
differences. Also are you trying to compress the 70 MB in one shot ? 
Post a piece of code that works by itself (just compiles) but that fail 
with >70 MB files.


More information about the fpc-pascal mailing list