Import a C # Form in C ++

Is there a way to import a C # form and user control into C ++ .NET? I am using VS2008 and installing VS2010.

+3
source share
3 answers

If you have an assembly or .NET element in the assembly, it does not matter that you use the code and use it from managed C ++, C # or VB.NET or any other .NET language, which is one of the reasons why. NET was invented: regardless of language.

To use it: just reference the .NET assembly in the new project.

+3
source

Move your UserControl to the class library project and add this project as a reference.

0
source

Source: https://habr.com/ru/post/1761805/


All Articles