Dennis Poon wrote:
I downloaded the Paszlib-sg from
http://sagsehome.net/oss/paszlib-sg.php (as suggested by Paszlib
freepascal.org wiki).
I works fine on my Delphi 5 until I try to compress a file with size
of 70M and it raises the exception of integer flow error.
Does anyone have this
the paszlib has bug for large file sizes so I need another one.
Thanks.
Dennis
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
In our previous episode, Dennis Poon said:
Dennis Poon wrote:
I downloaded the Paszlib-sg from
http://sagsehome.net/oss/paszlib-sg.php (as suggested by Paszlib
freepascal.org wiki).
No. It doesn't suggest that. It says that code in FPC originally came from
the same sources as that. But
I works fine on my Delphi 5 until I try to compress a file with size
of 70M and it raises the exception of integer flow error.
That means you enabled that somehow. Integer under/overflow is generally not
enabled by default, and it is somewhat unlogical to use it with converted C
code.
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
Documentation here:
http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/comparemem.html
says that the function returns 0, 0 or 0
while actually it returns a Boolean.
Juha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
2013/11/14 Juha Manninen juha.mannine...@gmail.com
Documentation here:
http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/comparemem.html
says that the function returns 0, 0 or 0
while actually it returns a Boolean.
Those docs are outdated: see up to date docs at:
zlib (at zlib.pas)
The only differences are:
1) it works; performance is better actually;
2) it's depends the external library to be available;
thanks,
Dmitry
On Thu, Nov 14, 2013 at 7:01 AM, Dennis Poon den...@avidsoft.com.hk wrote:
the paszlib has bug for large file sizes so I need another
On Thu, Nov 14, 2013 at 9:42 PM, Vincent Snijders
vincent.snijd...@gmail.com wrote:
Those docs are outdated: see up to date docs at:
http://www.freepascal.org/docs-html/rtl/sysutils/comparemem.html
Ok, thanks.
Juha
___
fpc-pascal maillist -