Author Topic: HRESULT 0x80004002: Interface does not exist on CoCreateInstance  (Read 3564 times)

kathir

  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
HRESULT 0x80004002: Interface does not exist on CoCreateInstance
« on: November 14, 2011, 03:34:44 pm »
You may get the error code 0x80004002 on HRESULT on your COM client application. It means that the interface is not supported by the COM server.

How come this error could happen? This is possibly because of your COM client version is newer than your COM server version. The interface identifier might be changed in the newer version of COM server component and the older version might be deprecated.

All you need to do is, update the COM server DLL to the latest version.

In other words, get the IID (GUID) from the COM client application and run regsvr32 to find the IID on your registry. You should not find anything :) This will confirm the problem is with using the deprecated version of the component.

 


Disclaimer: This web site is for educational and informational purposes only. Click here to read the Disclaimer.
Content copyright 2010-2014. Kathiresan. All rights reserved.
This page is using SMF version 2.0.1