Cannot register my .ocx with error code 0x80040200

柔情痞子 提交于 2019-12-24 19:25:00

问题


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.

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?

Thanks


回答1:


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



来源:https://stackoverflow.com/questions/45877162/cannot-register-my-ocx-with-error-code-0x80040200

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