您的位置:首页 > 产品设计 > UI/UE

Retrieving the COM class factory for component with CLSID {xxxx} failed due to the following error:

2014-02-11 14:00 956 查看
Issue:

Retrieving the COM class factory for component withCLSID {xxxx} failed due to the following error: 80040154Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Solutions:
1.registered the DLL using the regsvr32 command.
The easiest resolution to find a version ofqedit.dll from a version of Windows that does include it, such as Windows XP,Vista, 7 or 8 (basically, any non-server OS).Copy the qedit.dll file to theC:\Windows\system32 directory of
your server OS.
32-bit (x86): C:\Windows\system32
64-bit (x64): C:\Windows\SysWOW64
Run the following command at the command promptas administrator: regsvr32 C:\Windows\system32\qedit.dll.
2. If above method does not solve your issue, please use thismethod.

In VS - project properties - in the Build tab - platform target=X86

3. If above methods does not solve your issue still. You canun-install related dll/exe and then re-install it again.

That’s it! Your program should now be able to load thecomponent and function as expected.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐