Somewhere in the code you use, there is a call to the Win32 API, CoCreateInstance , to dynamically load the DLL and instantiate the object from it.
The mapping between a component identifier and a DLL that can instantiate this object is usually located in HEKY_CLASSES_ROOT \ CLSID in the registry. To discuss this further would explain a lot about COM in Windows . But the error indicates that the COM manual is not in the registry.
I don’t really understand what the PackAndGo DLL (Autodesk component) is, but I suspect that you just need to “install” this component or the software package with which it came through the designated installer to have this DLL and the corresponding COM registry keys on your computer on which you are trying to run your code. (i.e. run setup.exe for this product).
In other words, I think you need to install "Pack and Go" on this computer, and not just copy the DLL to the target machine.
Also, make sure that you decide to create your own code suitable as 32-bit or 64-bit, depending on which layout builder (32 or 64 bit) of the Pack And Go package you are installing.
selbie
source share