我在我的C# .NET应用程序中使用了外部本机COM组件。
这个COM DLL没有类型库,所以我不得不自己编写互操作代码,并且像TlbImp一样使用include/idl文件。但最糟糕的是,对象创建失败,出现以下错误:
Creating an instance of the COM component with CLSID {40700425-0080-11D2-851F-00C04FC21759} from the IClassFactory failed due to the following error: 80040111
如果我使用原生CoCreateInstance并指定class