Re: Using ZLib
> >I tried something like that, but I couldn't work out how to get it to
> >stop when it had copied the entire stream.
>
> Easy - the bytes returned will be fewer than the bytes requested
If only it were so easy - I tried using a repeat..until loop, checking
the number of bytes returned in the condition at the bottom, but it
seems that the ZLib stream's read functuin goes into an infinite loop
somewhere.
> >BTW the ZLib code is on the Delphi CD.
>
> Which version of Delphi are you using ?
Delphi 5 Standard.
Thanks,
- QS Computing.
.
Relevant Pages
- FAQ: comp.lang.pascal.delphi.misc miniFAQ (full version)
... Why does the debugger show my For loop variable counting down, ... Does Delphi have an equivalent to the VB Split function? ... When using the TRegistry component under Windows NT, Windows 2000, or ... Newsgroups Etiquette ... (comp.lang.pascal.delphi.misc) - FAQ: comp.lang.pascal.delphi.misc miniFAQ (full version)
... Why does the debugger show my For loop variable counting down, ... Does Delphi have an equivalent to the VB Split function? ... When using the TRegistry component under Windows NT, Windows 2000, or ... Newsgroups Etiquette ... (alt.comp.lang.borland-delphi) - FAQ: comp.lang.pascal.delphi.misc miniFAQ (full version)
... Why does the debugger show my For loop variable counting down, ... Does Delphi have an equivalent to the VB Split function? ... When using the TRegistry component under Windows NT, Windows 2000, or ... Newsgroups Etiquette ... (comp.lang.pascal.delphi.misc) - FAQ: comp.lang.pascal.delphi.misc miniFAQ (full version)
... Why does the debugger show my For loop variable counting down, ... Does Delphi have an equivalent to the VB Split function? ... When using the TRegistry component under Windows NT, Windows 2000, or ... Newsgroups Etiquette ... (alt.comp.lang.borland-delphi) - FAQ: comp.lang.pascal.delphi.misc miniFAQ (full version)
... Why does the debugger show my For loop variable counting down, ... Does Delphi have an equivalent to the VB Split function? ... When using the TRegistry component under Windows NT, Windows 2000, or ... Newsgroups Etiquette ... (comp.lang.pascal.delphi.misc) |
|