|
Post by Dan Palley on Nov 13, 2003 11:47:48 GMT -5
I'm having a problem unzipping files on a Windows 2003 Server. The files are being extracted as 2\xxx where 2 is the name of a subdirectory and each file is named 'xxx'.
Unzipping on Windows 2000 is fine. I can look at the zip file in the native Windows 2003 viewer and they look fine and extract fine.
I'm using 3.03. Reverting to the 2.x VCLZIP works fine.
Any ideas?
Thanks,
Dan Palley TRAMS, Inc.
|
|
|
Post by Kevin on Nov 13, 2003 12:37:57 GMT -5
Are you using the evaluation version or the registered vesion of VCLZip 3.03?
Also, which version of Delphi/BCB are you using?
If you are using the registered version, open up the package and go into the options. Select the "Directories/Conditionals" tab and see if there is a conditional KPDEMO defined. If there is, delete it and recompile the package.
Kevin
|
|
|
Post by Dan Palley on Nov 13, 2003 18:40:03 GMT -5
I'm using Delphi 6 update 2 and the registered 3.03 VCL Pro.
I checked the package (VCCLZipD6_3.dpk) and there are no conditional defines.
Dan
|
|
|
Post by Kevin on Nov 13, 2003 20:31:11 GMT -5
For some reason, VCLZip is thinking it is the evaluation version when you open the archive. Are there any files left over from the evaluation version possibly on your system? Or does your Delphi search path still include the directory where the evaluation version resides? I would be sure to remove all evaluation files, .dcu's and all, from your system and rebuild VCLZip.
Second, you can try this... open up KPZIPOBJ.PAS, and look in TZipHeaderInfo.ReadCentralFromStream for two {$IFDEF KPDEMO} blocks and remove them. Rebuild VCLZip. This may get rid of the problem, but if what I described in the previous paragraph is the problem, I'm just afraid that it could cause other problems.
Let me know how this goes.
|
|
|
Post by Dan Palley on Nov 14, 2003 19:02:39 GMT -5
Yes -- removing the vestiges of the trial version fixed the problem.
Thanks,
Dan
|
|