Windows 7: unable to register DLL - Error Code:0X80004005

可紊 提交于 2019-12-03 04:02:20

问题


When I tried to register a COM DLL,

regsvr32 rpcrt4.dll

I get the following error message:

`The module "c:\windows\system 32\"rpcrt4.dll" was loaded but the call to DllRegisterServer failed with error code 0X80070006.

How do I fix this problem? Please help.


回答1:


According to this: http://www.vistax64.com/vista-installation-setup/33219-regsvr32-error-0x80004005.html

Run it in a elevated command prompt.




回答2:


Open the start menu and type cmd into the search box Hold Ctrl + Shift and press Enter

This runs the Command Prompt in Administrator mode.

Now type regsvr32 MyComobject.dll




回答3:


Use following command should work on windows 7. don't forget to enclose the dll name with full path in double quotations.

C:\Windows\SysWOW64>regsvr32 "c:\dll.name" 


来源:https://stackoverflow.com/questions/5413585/windows-7-unable-to-register-dll-error-code0x80004005

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!