March 20th, 2013, 05:46 AM
Accessing managed dll from c++
I need to access a DLL made in C# from C++ (v 6.0).
I found this article:
But I run into problems whenever I try to register the DLL. It suggests that I add [ClassInterface(ClassInterfaceType.None)] to my class, which I then did, and it didn't work.
Does anyone have a code sample with a C# DLL accessed from C++ which works? Preferably a solution with the C# dll and another one with the C++ that accesses it.
Other suggestions/hints/articles are also welcome.
Thanks in advance.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!