Consultor Eletrônico



Kbase 20789: Error 0x80004005 When Registering Proxygen Created DLL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
SUMMARY:

When you try to register a DLL file that is created by ProxyGen, you can encounter the following error message:

dll register in dll file failed, return code was
0x80004005

A workaround might involve the method you use to register the DLL.

SOLUTION:

Progress Technical Support has found that the use of Start/Run/regsvr32 <dllname.dll> from the Windows32 desktop results in the above-mentioned error, but that when a command prompt is opened and regsvr32 is run against the DLL in the directory where the DLL is located, the registration works correctly.

The issue is still under investigation as of this writing. The upgrade of the Microsoft Java SDK from 3.2 to 4.0 might be an answer to the problem.

Another cause of this error is using the full path name to the dll with regsvr32. This has been shown to give the error as well. A work around to this problem is to cd to the directory that contains the dll and run regsvr32 from there.