Use a .net assembly from a fully unmanaged C ++ application?

Is it possible in any way to reference and use classes and methods from a managed .net assembly from a fully unmanaged C ++ application? (no / clr)

+1


a source to share


3 answers


Absolutely, and this gem from CodeProject should prove useful



You need CCW (COM Callable Wrapper).

+3


a source


You can - by hosting the CLR. I found one set of code examples here . I have no way of knowing how good the advice is, though, like I never did.



+1


a source


You can expose the .NET class through COM and use the classes through COM.

+1


a source







All Articles