Calling managed DLL from C++ app

  • Thread starter Thread starter its_me_here
  • Start date Start date
I

its_me_here

Guest
I am trying to access a C# DLL from unmanaged based on the MS link. When creating the interface pointer ,



ICalculatorPtr pICalc(__uuidof(ManagedClass));

I am getting the error "Class not registered".

I have built the DLL. The tlb and tlh all have been created and RegASM is success too. The tlb has been successfully imported.

When I try to register the DLL using regsvr32 command, it says like the DLL is not valid. What could be wrong here?






Continue reading...
 
Back
Top