-
March 20th, 2013, 04:46 AM
#1
Accessing managed dll from c++
I need to access a DLL made in C# from C++ (v 6.0).
I found this article:
http://support.microsoft.com/kb/828736
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|