如何解决COM异常没有注册类(从HRESULT异常:0x80040154的(REGDB_E_CLASSNOTREG))? [英] How to solve COM Exception Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))?

查看:827
本文介绍了如何解决COM异常没有注册类(从HRESULT异常:0x80040154的(REGDB_E_CLASSNOTREG))?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试创建一个COM类的实例,它抛出一个异常为

When I try to create a instance of a COM class it throws an exception as

没有注册类(从HRESULT异常:0x80040154的(REGDB_E_CLASSNOTREG))

请建议我怎么能解决呢?

Please suggest how could i solve it?

推荐答案

它看起来像任何程序或你想要么初始化是不是你的机器上安装过程中,安装损坏或需要进行注册。

It looks like whichever program or process you're trying to initialize either isn't installed on your machine, has a damaged installation or needs to be registered.

无论是安装,修复它(通过添加/删除程序)或注册它(通过Regsvr32.exe的)。

Either install it, repair it (via Add/Remove Programs) or register it (via Regsvr32.exe).

您还没有提供足够的信息,我们为您服务不止这些。

You haven't provided enough information for us to help you any more than this.

这篇关于如何解决COM异常没有注册类(从HRESULT异常:0x80040154的(REGDB_E_CLASSNOTREG))?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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