ZLibEx "buffer error"



Using Delphi 5 with ZLibEx.pas version 1.2.2.

I am getting a "buffer error" (code -5) which I traced down to an
Inflate procedure in ZLibEx.pas: "zresult :=
ZDecompressCheck(inflate(zstream,Z_FINISH));"

Only occurs on a rather large zipped TFileStream.

I heard from the author that this isn't an error, but an indication that
there just isn't enough input or output space for inflate to make any
progress. In the mean time I have tried all possible buffer sizes
without any luck. It only happens with this one large stream (14 MB that
should decompress to well over 100 MB).

Many thanks for any pointer on how to resolve this.

Cheers,
Dom


.



Relevant Pages

  • Re: Delphi/C++ for win64 (circa 2007)
    ... the future of Delphi is bright; and I am taking the day off ... Going to play chess in the park. ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • I am looking for a Job
    ... somebody that god have told him where I am and what I am doing, ... moment I'll be going on with Delphi, asp.net, c#. MS SQL working inocently ... or it may be not I dont know. ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • Re: BitButton
    ... unendlich viel mehr als in Delphi;-) ... Rainer ... Prev by Date: ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Yes, Captain Jake is still alive, was Re: Dr Watson in Vista
    ... Can't do much Delphi if you can't ... Everything in this post is mere opinion. ... Posted with JSNewsreader-BETA 0.9.4.1196 ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • Re: Space Station and Borland
    ... Try our DS Plug-in System, now with Delphi 2005 support ... Prev by Date: ...
    (borland.public.delphi.non-technical)