使用OTA com库时获得HRESULT [英] Getting HRESULT when using OTA com library
本文介绍了使用OTA com库时获得HRESULT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我最近已将我的系统迁移到Window7,使用Visual Studio 2008版本Xp + VS2008
我复制了我的私密版权投入这个新系统。但是当我尝试编译我的代码时,我得到了
以下错误
检索具有CLSID {C5CBD7B2的组件的COM类工厂-490C-45F5-8C40-B8C3D108E6D7}由于以下错误而失败:80040154。
虽然我有正确的链接我的库,就像它在以前的机器中一样
Hi recently i have migrated my system to Window7 with visual studio 2008 version form Xp+VS2008
I have copied my privious project in to this new system. but when i try to compile my code i get
Below error
Retrieving the COM class factory for component with CLSID {C5CBD7B2-490C-45F5-8C40-B8C3D108E6D7} failed due to the following error: 80040154.
Although i have properly linked my library, just as it was in previous machine
推荐答案
还有一些额外的信息这里。 [ ^ ]
看起来这可能是DLL未在机器上注册或x86 / x64的问题。
There is some additional information here.[^]
Looks like it may be an issue with the DLL not being registered on the machine or a problem with x86/x64.
这篇关于使用OTA com库时获得HRESULT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文