|
Post by jhersant on Nov 12, 2003 9:26:20 GMT -5
I have recently upgraded from VCLZip to VCLZip pro, and even though the new features seem quite interesting, I have a major problem which compell me to stick to the good ol' VCLZip so far I have built quite a lot of classes, heavily relying on VCLZip, where I have implemented some specific compression and decompression methods using streams (TStream). Now I can see in VCLZip pro that TkpStream is not a TStream anymore, but TkpHugeStream which inherits from TObject. I think that I could probably find a solution to this problem, but I do believe that it would be nice if tkpHugeStream could still inheritate from TStream. My question is then was it really necessary? In Delphi 7, most of the methods and properties of a TStream use Int64, so it seems possible to inheritate from TStream as long Delphi 7 is concerned. I can't tell for the others versions of Delphi, but this would definitely be nice as well. Any comment and hope? Jérôme
|
|
|
Post by Kevin on Nov 12, 2003 10:18:03 GMT -5
For Delphi 6 and 7, and BCB 6, TkpHugeStream = TStream. So if you are using Delphi 7, you use TStream just as before, the TkpHugeStream classes are not even used by VCLZip in this case. So if you are using one of these versions, you can still use your custom classes just like before.
Also, if you are using D4 or D5, or BCB4 or BCB5, the next release due out soon has some new overloaded methods for unziptostream and zipfromstream that takes TStreams instead of TkpHugeStreams.
TKpHugeStreams was necessary for d4,d5,bcb4 and bcb5 because their TStreams don't have the Int64 capabilities needed for Zip64.
Kevin
|
|