无法注册ActiveX控件 [英] Failed to register ActiveX Control

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

问题描述

大家好.
注册ActiveX控件时遇到一些麻烦.
当我在VS2008中构建它时,它会停止在正在注册输出...",并且在我按下取消"之前永远不会返回.然后,我尝试通过regsvr32.exe注册该文件.该命令直接返回,没有错误或任何其他信息,但是我可以在Windows Task Manager中找到进程"regsvr32.exe",而且我必须自己杀死它.
我不知道发生了什么事,有人可以帮我吗? :((

Hello, everyone.
I have some trouble while registering my ActiveX control.
When I build it in VS2008, it stop at "Registering output..." and will never be back until I press "Cancel" .Then I try to register the file by regsvr32.exe. The command return directly with no error or any other information, but I can find the process "regsvr32.exe" in Windows Task Manager, and I have to kill it by myself.
I have no idea what happened,is there anyone can give me help? :((

推荐答案

尝试清空函数DllRegisterServer(..)
然后将一行添加到另一行(缓慢)以找到"catch".

您还可以在每行之后使用::MessageBox(..)函数
控制"执行:)
Try to empty the function DllRegisterServer(..)
and then add line to line (slowly) to find the "catch".

You could also use the ::MessageBox(..) function after each line there
to "control" the execution :)


这篇关于无法注册ActiveX控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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