在Windows 7中使用扫描仪 [英] Use the scanner in Windows 7
本文介绍了在Windows 7中使用扫描仪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在vb 2008中做项目使用WIA库。我的编程在xp中表现很好
但在Windows 7中显示此消息
从WIA成像获取失败检索COM类工厂具有CLSID的组件
由于以下错误,检索具有CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE}的组件的COM类工厂失败:80040154
我能做什么PLZ
帮助我
i do project in vb 2008 use the WIA library. my prog do very well in xp
but in the windows 7 this message appears
Acquire from WIA imaging failed Retrieving the COM class factory for commponent with CLSID
Retrieving the COM class factory for component with CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE} failed due to the following error: 80040154
what can i do plz
help me
推荐答案
快速搜索似乎表明这与32位和64位环境的混合。
这些链接 Crazy 80040154 COM类出厂错误 [ ^ ]和检索COM类事实由于以下错误,组件失败:80040154 [ ^ ]建议将平台目标从任何CPU更改为X86。
您可以阅读 Visual Studio .NET平台目标解释 [ ^ ]了解有关项目平台的一些信息。 />
试一试,看看这是否解决了你的问题。
A quick search seems to suggest this has something to do with the mixture of 32- and 64-bit environments.
These links The Crazy 80040154 COM Class Factory Error[^] and Retrieving the COM class factory for component failed due to the following error: 80040154 [^] suggest changing your platform target from ''Any CPU'' to ''X86''.
You can read Visual Studio .NET Platform Target Explained[^] for some information about the project platform.
Try it and see if this solves your problem.
这篇关于在Windows 7中使用扫描仪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文