I'm making a synchronous cross-process COM call that executes successfully, but when I check the HRESULT returned it's the aforementioned 0x80040155, or "Interface not Registered" and the out parameter doesn't contain any data.
Is there a way to re-register COM executibles? I'm not even sure that this would fix it, so is there an alternative way to fix this?
This problem appears to be localized to a particular system, as it works successfully on other systems.
Most COM executables can be registered by running COMserver.exe /regserver
After registering the COM executables, I still received the same Interface not Registered
error.
I was able to get rid of the exception by repairing Visual Studio. You can do by clicking Repair in the setup wizard, or in Visual Studio 2017, open the Visual Studio Installer then click Additional Choices -> Repair.
User contributions licensed under CC BY-SA 3.0