Contents - Index


Frequently Asked Questions


 

  

Q: When I try to install the VCLZip component into Delphi, I get an error that says VCLZip calls itself recursively.  

A: Be sure that the package you are installing the components into does not have the same name as any of the components that you are installing into it.  So don't name the package VCLZip or VCLUnZip.  

 

Q: When I try to set the property OverwriteMode := Always, I get an error that says Always is undefined.  

A: If you get this error for any property try adding kpZipObj to your USES list.  Most of the TYPEs are defined there. 

 

Q: When adding wildcards to the FilesList without any path information, zipping doesn't seem to work. Why is this?  

A: Please remember that you should never count on the DEFAULT DIRECTORY when zipping.  You should always supply a path in some way whether it is as part of the filename itself when added to the FilesList, or by using the RootDir Property.

  

Q: Why can't I add any comments or files to a spanned or blocked archive?  

A: The directory information for the archive must go at the end of the archive which will be on the last disk or possibly even spread over the last 2 or 3 or more disks, depending on how many files are in the archive and this directory information points to the files within that archive.  Adding, replacing, or modifying anything withing a spanned archive would cause enough disk swapping that it would be much easier to just recreate the whole thing.  Once a spanned disk set is created, it cannot be modified in anyway. 

 

Q: When I run my application with VCLZip on my own machine everything works fine.  But when I deploy the application to another system, I get an error that says something like "Class not registered".  Why is this?  

A: This error is most likely caused, not by VCLZip, but by some ActiveX component that is part of your application.  VCLZip does not use any OLE, OCX, or ActiveX in any way and should not cause this error.  

 

Q: Why do I get errors when trying to use an application that uses VCLZip, when I have MagicZip active on my system at the same time?  

A: This will happen for any application that works with zip files if MagicZip is active.  MagicZip causes zip files to look like normal directories when passed to your application.  There are two things that can help.  One is that you can tell MagicZip the name of your application through it's configuration options.  It maintains a list of applications that it will allow to see zip files normally. Second, I had a registered user tell me that he was able to avoid the problem all together by using names for the zip files in his application with extentions other than .ZIP.  

More to come...