Windows 8上的DLL注册问题0x80004005 [英] dll registration problem 0x80004005 on windows 8

查看:283
本文介绍了Windows 8上的DLL注册问题0x80004005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在vb中生成的dll(加载到outlook)。多年来我把它放在addins文件夹中并注册了然后我就去了....


$ 8 $ b在windows 8 PC上它拒绝注册



我运行cmd提示作为管理员,然后使用regsvr32与路径,我得到错误...已加载,但对DllRegisterServer的调用失败,错误代码为0x80004005



我有从Windows 7升级的Windows 8 PC并且DLL继续工作但是,在测试时,我取消注册它(我相信没有错误)和我现在无法在这台机器上注册它



从我的搜索中我可以看到许多问题,人们收到此错误,但没有任何暗示我如何确定问题是什么



任何建议



谢谢Mike

解决方案

此链接中的文章可能有助于解决此问题。



错误在64位Windows上运行Regsvr32.exe时出现错误 [ ^ ]



文章说要在Windows 8上注册32位DLL。

 cd \windows\syswow64 
regsvr32 c:\ filename.dll





它不是很直观,但C:\ Windows \ System32中的regsvr32.exe适用于64位DLL,C:\ Windows \ syswow64中的regsvr32.exe适用于32位DLL。


I have a dll (addin to outlook) that is produced in vb. For years I have put it in the addins folder and registered it and away I go but....

on windows 8 PCs it refuses to register

I run a cmd prompt "As Administrator" and then use regsvr32 with the path and I get the error "... was loaded but the call to DllRegisterServer failed with error code 0x80004005"

I had a Windows 8 PC that was upgraded from Windows 7 and the DLL continued to work but, whilst testing, I unregistered it (I believe without error) and I cannot register it on this machine either now

From my searches I can see lots of problems where people receive this error but nothing that suggests how I can identify what the problem is

Any suggestions

Thanks Mike

解决方案

The article at this link may help resolve this issue.

Error Message When You Run Regsvr32.exe on 64-Bit Windows[^]

The article says to do the following to register a 32-bit DLL on Windows 8.

cd \windows\syswow64
regsvr32 c:\filename.dll



It is not very intuitive but the regsvr32.exe in C:\Windows\System32 is for 64-bit DLLs and the regsvr32.exe in C:\Windows\syswow64 is for 32-bit DLLs.


这篇关于Windows 8上的DLL注册问题0x80004005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆