Is there any way I can reference and use classes and methods from a managed .net assembly from within a totally unmanaged C++ application? (no /clr)
+1
A:
You can - by hosting the CLR. I found one set of example code here . I have no way of knowing how good the advice there is though, as I've never done it.
Harper Shelby
2009-05-26 02:54:45
+2
A:
Absolutely, and this gem from CodeProject should prove helpful
You need a CCW (COM callable wrapper).
Chris Ballance
2009-05-26 02:57:26
A:
You can expose the .NET class thru COM and consume the classes thru COM.
Shay Erlichmen
2009-05-26 13:52:36