Login  
Search All Forums
Dart Home | PowerTCP Zip Compression for Active | Custom Development Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
AuthorForum: PowerTCP Zip Compression for ActiveX
Topic: FileBytes and File.Size are mismatch when Zipping more than 2 GB
Martin_Jakubowski
M.Jakubowski@apo-edv.de

From: Oberhausen, Germany
Posts: 12
Member Since: 01/07/05
posted December 7, 2006 4:30 AM

Hello,

first of all the tool is working fine and I'm happy with it. But now have a little "optical" Problem you may could help me with.
I would like to fill a progressbar or a %-Counter during the zip_progress event. I'm using File.Size and FileBytes to solve this. Everything is well, when the files - I would like to zip - have a total size < 2 GB. If it is more, the properties have mismatch values after 2 GB I guess. The Zip-Files as a result is ok. Did I missed an Update of your tool ?

Regards

Martin Jakubowski

P.S.: We're using the dartzip.dll Version 1.8.1.2.
Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted December 7, 2006 12:09 PM

Hello Martin,

In the latest update of this control, there is a new Progress64 event being added. This event should be used when FileBytes or TotalBytes can exceed 2^31 bytes (2GB). Here is the syntax for this event:

Private Sub Object_Progress64 ([Index as Integer,] Status as ZipStatusConstants, File as File, FileNumber as Long, FileBytes as Long, FileBytesHigh as Long, TotalBytes as Long, TotalBytesHigh as Long)
 
Comparing this event with the Progress Event, you can see that two parameters (FileBytesHigh and TotalBytesHigh) have been added into this event. These parameters value are not an actual count of bytes, but a count of the number of times the size of the file has exceeded 2GB.


If you are looking for the latest version of ZIP Compression Tool, then I would suggest you to please contact David Harry (sales@dart.com).

Regards,
Amit
Martin_Jakubowski
M.Jakubowski@apo-edv.de

From: Oberhausen, Germany
Posts: 12
Member Since: 01/07/05
posted December 8, 2006 2:50 AM

Hallo Amit,

thank your for your reply. I will contact him for the latest version.

Regards

Martin
Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX