How do I call a .NET assembly from C/C++?

You should really look into C++/CLI. It makes tasks like this nearly trivial.

Otherwise, you’ll have to generate COM wrappers around the C# code and have your C++ app call the COM wrappers.

Leave a Comment