I am using CoCreateInstance function to create a single object of the class associated with a specified CLSID. It returns E_NOINTERFACE.
I checked the registry and the CLSID is correct. The path of the called object dll is correct in registry and ThreadingModel is Apartment. In addition, the reference to the identifier of the interface is correct.
The newly created object context parameter is CLSCTX_INPROC_SERVER.
While this function call is working on one PC, it is not working on another. I tried to register the dll with regsvr32 again, but it has not solved the issue.
What could be the reason of the problem?