IClassFactory因以下错误而失败:80040112“ [英] IClassFactory failed due to the following error: 80040112"

查看:576
本文介绍了IClassFactory因以下错误而失败:80040112“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误消息" ,由于以下错误,无法从IClassFactory创建具有CLSID {648A5600-2C6E-101B-82B6-000000000014}的COM组件实例:80040112 "

我正在动态使用MSCommLib.MSComm(Microsoft Communication Control 6.0)控制器与Com Port连接.该应用程序在开发人员服务器中工作正常.但是在客户端计算机中,它给出了一个错误.在谷歌搜索时,我发现会出现此错误,因为Microsoft Communication Control 6.0的动态运行时许可不是.我测试了一下,发现是真的.请帮我解决这个问题.

注意:这是C#应用程序

问候
Baji:)

I am getting an error "Creating an instance of the COM component with CLSID {648A5600-2C6E-101B-82B6-000000000014} from the IClassFactory failed due to the following error: 80040112"

I am using a MSCommLib.MSComm ( Microsoft Communication Control 6.0) controller dynamically to connect with the Com Port. The application works fine in the developer server. But in the client machine its giving an error. While goolgling I found that this error is raised because dynamic Run time Licensing for Microsoft Communication Control 6.0 is no. and I tested it and found true. Please help me to sort this out.

NB: This is a C# application

Regards
Baji :)

推荐答案

最好的选择是,如已经建议的那样,使用 "LicenceProvider" [^ ](注意:是C++代码),它仅使用代码示例中的MSComm.
:)
The best option would be, as already suggested, using the Serial Port[^] class provided by the .NET Framework.

If you''re curious about providing runtime license info for COM controls, then you may have a look at my article "LicenceProvider"[^] (Note: is C++ code), it uses just the MSComm in the code sample.
:)


大家好!
我也有问题
我正在将安装应用程序测试到虚拟Windows XP中(我使用了VMWare并在其中安装了新的Windows)
当我尝试在TCP服务器上开始监听时,会引发此错误.
我在其他系统(不是虚拟系统)上尝试过,它运行得很完美!
祝你好运
Hey guys!
I had the problem too
I was testing my setup application into a virtual windows xp (I used VMWare and installed a new windows inside)
when I was trying to start listening on tcp server it throws this error.
I tried in an other system (not virtual) and it ran perfectly!
good luck


这篇关于IClassFactory因以下错误而失败:80040112“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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