无法注册我的.ocx,错误代码0x80040200 [英] Cannot register my .ocx with error code 0x80040200

查看:97
本文介绍了无法注册我的.ocx,错误代码0x80040200的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试注册.ocx文件时,出现错误代码0x80040200.

When i try to register my .ocx file I get error code 0x80040200.

我知道,当我没有管理员权限时,通常会发生此错误,但对我而言并非如此.

I know that this error usually occurs when I got no administrator privileges, but for me that's not the case.

我找到了一些代码段,我可以使用它们测试.ocx,然后regsvr32可以找到入口点,看起来好像可以.

I found some code snippet with which I could test my .ocx wether regsvr32 can find the entry point and it looks like it could.

还有其他已知原因导致此错误发生吗?

Is there any other known reason why this error could occur?

谢谢

推荐答案

在我的情况下,我尝试注册dll并遇到相同的错误.原因是dll附近没有tlb文件.

In my case, I tried to register dll and got the same error. The reason was absence of a tlb file near the dll.

这篇关于无法注册我的.ocx,错误代码0x80040200的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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