ActiveX 组件无法创建对象 [英] ActiveX component can't create an object
问题描述
我遇到了错误,
ActiveX 组件无法创建对象.
ActiveX component can't create object.
实际上,我有业务逻辑所在的 VB6 DLL,我在 VB.NET 应用程序中调用该 DLL 函数,所有 DLL 都依赖于其他 DLL.我从 DLL 之一收到错误
Actually I have VB6 DLLs where business logic resides and I am calling that DLL function in my VB.NET application, all DLLs are dependent on other DLLs. I am getting the error from one of the DLLs
有什么想法吗?
推荐答案
通常该错误指向未注册的 COM dll.您需要查看调用链并找出您需要哪些 COM 组件并确保它们可用.Process Monitor(来自 sysinternals)可能会帮助您在读取时找到它从注册表中找不到它.
Usually that error points to a COM dll that is not registered. You need to look at the chain of calls and find out which COM components you need and make sure they are available. Process Monitor (from sysinternals) may help you find it when it reads from the registry and can't find it.
这篇关于ActiveX 组件无法创建对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!