|
Post by bgmiller on Jan 15, 2007 12:07:47 GMT -5
Found this issue: After compiling the VCLZip demo with Delphi 2006 (version 3.06) and creating an archive with the demo, you cannot add files to the archive with WinZip.
WinZip reports: Warning: the number of entries (10) in the central directory does not match the number of entries found (5)
This was not an issue with earlier version of Delphi so it seems to be version 10 specific.
Is there a fix for this yet? Any ideas?
Thanks, Bradley
|
|
|
Post by Kevin on Jan 19, 2007 12:40:40 GMT -5
I will be looking at this over the weekend.
Kevin
|
|
|
Post by Kevin on Jan 20, 2007 10:00:27 GMT -5
The fix for this will be included in the next release, but in the mean time here is how you can fix it now...
Open up VCLZip.PAS. The following line will show up 4 times in VCLZip.PAS and you just need to comment out two of them:
tmpecrec.num_entries_this_disk := tmpecrec.num_entries_this_disk + 1;
Delete this at line numbers 1156 and 1331. You should leave the ones at line 1627 and 2966.
Now recompile the package.
BTW, it is interesting that WinZip 11 does not report this as a problem.
Thanks,
Kevin
|
|
|
Post by bgmiller on Jan 20, 2007 18:44:10 GMT -5
Thanks Kevin for the reply.
This does indeed work here.
I do not have WinZip 11 so cannot comment. I do know that Windows XP Pro had the same problem. Maybe the way the original Info-Zip code is being used/changed?
Thanks for the fast fix.
Bradley
|
|