Combine C# with C++

I have a solution that combines a project in C++(for calculations) with C#(interface). Is it possible to declare a class in C# and then use the objects in the C++ code

Answer this question

Combine C# with C++

  • su45937

    you can write a mixed mode DLL and for each C# class you need in C++, write a wrapper classes in C++/CLI.

  • Combine C# with C++