Hello
I created COM visible class MyClass on C#
registered by regasm command – registration passed OK
And I can see in registry progid corresponding to MyClass
In the client C++ code :
1) call of CLSIDFromProgID passed OK
2) call of CoCreateInstance fail with error “Class not registered” (80040154)
What can be possible reasons of such behavior – your help will be very valuable
Thanks in advance
Hello I created COM visible class MyClass on C# registered by regasm command –
Share
I had the same issue, solved executing these commands from the console:
then doing a double click on the reg file generated.
to test if everything is ok you can have a very small vb script file which created the object, just put a command like this in a .vbs file:
your COM visible assembly should be strongly named.