Search code examples
c#.netcom-interop

Using Someone else's COM Interop DLL


I'm trying to use an API that my client has a license to. I was given a COM Interop DLL.

I can write all of the code I need, but when I go to run it, I receive the following error:

Retrieving the COM class factory for component with CLSID {73C527F2-C6C0-4F4B-92F7-1448EC342FC5} failed due to the following error: 80040154.

Any ideas? Is there something I need to register?


Solution

  • Do you have the actual COM objects/software installed on the development machine, or did you just copy the interop assembly? If it's the latter, the interop assembly is going to have all the interfaces and the object profiles which will make intellisense work in Visual Studio, but it does not contain actual executable code.