I have a C ++ application from which I want to call .NET (C #) methods. I was going to use C++/CLI
, but it is only supported on Windows.
Since we also support MAC, I would call .NET from C ++ in a way that will work on both Windows and Mac (with Mono).
What is the best way to do this?
EDIT: I have to add that the C # code we want to call is not ours. We have no changes. C ++ code, of course, is ours.
user236520
source share