J
Janiv Ratson
Hello,
I have written a C# dll in VS2005.
One interface and class are exported using Interop Services.
I want to use this c# dll in my MFC application, using VS2003.
It compiles after I imported the dll to my MFC app.
On runtime I get class not registered HR error in my MFC project.
I use the code as follow:
_NewActivationPtr myActivation = NULL;
HRESULT hr = myActivation.CreateInstance(__uuidof(NewSupernaActivation));
I don't what to do.
Do I have to use GACUtil to register?
If I want to use GACUtil do I have to sign my project?
Trying do it had failed, because my third party library I'm using in my C#
dll is not signed (so if I choose to sign my project, there is a compilation
error, caused because the 3rd party library is not signed, I guess).
Please help,
Thanks,
Janiv Ratson.
I have written a C# dll in VS2005.
One interface and class are exported using Interop Services.
I want to use this c# dll in my MFC application, using VS2003.
It compiles after I imported the dll to my MFC app.
On runtime I get class not registered HR error in my MFC project.
I use the code as follow:
_NewActivationPtr myActivation = NULL;
HRESULT hr = myActivation.CreateInstance(__uuidof(NewSupernaActivation));
I don't what to do.
Do I have to use GACUtil to register?
If I want to use GACUtil do I have to sign my project?
Trying do it had failed, because my third party library I'm using in my C#
dll is not signed (so if I choose to sign my project, there is a compilation
error, caused because the 3rd party library is not signed, I guess).
Please help,
Thanks,
Janiv Ratson.