Question:
Hi,
We have incorporated Chilkat Zip into our VBA/MS Access application. It works fine on the development PC; the deployment package includes ChilkatZip.dll, and the dll appears to register correctly on the target system (in SysWow64).
Then, when attempting to create the zip object, the application raises the error "ActiveX component can't create object."
I've tried installing on two different target machines (other than the development machine) with the same results in both cases.
Any ideas what this could be?
Thanks, Alex
Here are a few likely solutions:
Also.. I just noticed you said "ChilkatZip.dll". That's an extremely old DLL that existed when the Chilkat classes/objects were scattered across different DLLs. For many years now, the Chilkat ActiveX is a single DLL that contains all the classes.
Hi,
Thank you - that was the problem. I was distributing the wrong DLL.
I had no idea. My code was using the object Chilkat_9_5_0.Zip using CreateObject, but my project was referencing ChilkatZip.dll. On my development system, that worked anyway, because CreateObject found what it needed without a reference, since correct DLL was registered. But the correct DLL was not shipping with the deployment package.
That also explains why I was having trouble with early binding :)
Anyway now it deploys fine and works great. Thanks!