Re: [fpc-pascal] CompareMem documentation

2013-11-14 Thread Juha Manninen
On Thu, Nov 14, 2013 at 9:42 PM, Vincent Snijders 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 - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] any good data compression library for Free Pascal?

2013-11-14 Thread Dmitry Boyarintsev
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 wrote: > the paszlib has bug for large file sizes so I need another one. > > Thanks. > >

Re: [fpc-pascal] CompareMem documentation

2013-11-14 Thread Vincent Snijders
2013/11/14 Juha Manninen > 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: http://www.freepascal.org/docs-html/rt

[fpc-pascal] CompareMem documentation

2013-11-14 Thread Juha Manninen
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 http://lists.free

Re: [fpc-pascal] paszlib problem: integer overflow

2013-11-14 Thread José Mejuto
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

Re: [fpc-pascal] paszlib problem: integer overflow

2013-11-14 Thread Dennis Poon
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.

Re: [fpc-pascal] paszlib problem: integer overflow

2013-11-14 Thread Marco van de Voort
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.

[fpc-pascal] Re: paszlib problem: integer overflow

2013-11-14 Thread Reinier Olislagers
On 14/11/2013 13:00, Dennis Poon wrote: > Dennis Poon wrote: >> I downloaded the Paszlib-sg from >> http://sagsehome.net/oss/paszlib-sg.php (as suggested by Paszlib >> freepascal.org wiki). Which URL exactly? paszlib-sg doesn't seem to be mentioned in http://wiki.freepascal.org/paszlib ... > Is a

[fpc-pascal] any good data compression library for Free Pascal?

2013-11-14 Thread Dennis Poon
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

Re: [fpc-pascal] paszlib problem: integer overflow

2013-11-14 Thread Dennis Poon
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 p