由于以下错误,检索具有CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E}的组件的COM类工厂失败:80040154。 [英] Retrieving the COM class factory for component with CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E} failed due to the following error: 80040154.

查看:67
本文介绍了由于以下错误,检索具有CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E}的组件的COM类工厂失败:80040154。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在制作使用网络摄像头作为条形码扫描仪的应用程序。每件事都运行正常,但是当我在win7笔记本电脑中运行该应用程序时,它会抛出错误

检索COM由于以下错误,CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E}组件的类工厂失败:80040154。我已经应用了开发人员通过这么多论坛建议的所有更改,但我无法更正还没有。我已经添加了对DLL的引用,也用regsvr32.exe.still注册了它们面临同样的问题,有什么有用的建议吗?

Hello everyone,I am making application which uses webcam as barcode scanner.Every thing works fine,but when i run that app in win7 laptop,it throws the error
Retrieving the COM class factory for component with CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E} failed due to the following error: 80040154. I have applied all the changes suggested through so many forums by developers but i am not able to correct that yet.i have added reference to DLLs, also registered them with regsvr32.exe.still facing the same issue,any helpful Suggestions please?

推荐答案





此错误很可能是由于尝试在64位操作系统上执行32位自动操作引起的。在Visual Studio中 - 项目属性 - 在Build选项卡中 - platform target = X86或Any CPU



亲切问候,
Hi,

This error is most likely caused by trying to do 32-bit automations on a 64-bit operating system. In Visual Studio - project properties - in the Build tab - platform target = X86 or Any CPU

Kind regards,


这篇关于由于以下错误,检索具有CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E}的组件的COM类工厂失败:80040154。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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