[已解决]注册COM dll时返回错误 [英] [Solved]Returns an error while registering a COM dll

查看:83
本文介绍了[已解决]注册COM dll时返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用Visual Studio 2005创建了一个COM dll.以下是
的步骤
创建COM dll.

(1)新建项目-> MFC dll.选择完成按钮

(2)在工作区中单击鼠标右键,然后选择添加新类"

(3)选择ATL COM + 1.0组件

(4)输入接口名称.

(5)生成了应用程序.然后它成功了.但是当我尝试注册

使用REGSVR32的dll显示

返回码为:0x80029c4a"

我在论坛上搜索了此错误代码.但是所有人都说用户尝试

注册dll没有足够的权限.但是我是管理员用户.我可以

注册其他COM dll.请帮助我.

在此先谢谢您.

Hi,

I created a COM dll using visual studio 2005.The following were the steps to

creating the COM dll.

(1)New Project->MFC dll.Select the finish button

(2)Right click in the workspace and select Add New Class

(3)Select ATL COM+ 1.0 component

(4)Entered the interface name.

(5)Builded the application.Then it succeeded the build.But when I tried to register

the dll using REGSVR32 it showed

"Return code was: 0x80029c4a"

I searched this error code in forums.But everyone saying that the user trying

to register the dll have no sufficient rights.But I am an administrative user.I can

register other COM dll.Please help me.

Thanks in advance.

推荐答案

您是否尝试过从命令行以管理员身份调用"regsvr32"?

所有所需的dll都可用吗?
have you tried to call "regsvr32" as admin from the commandline?

Are all needed dlls available?


这篇关于[已解决]注册COM dll时返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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