Question about C++ and C# ...
-
Hi All, I have some old project that implement some GUI in MFC. I need to change one of the dialog in this GUI - and i found out that i can do it in very easy way in C#. Can / How can i mix between those two language ? i want to do in in the easy way - but i don't want to write all the application in C# ... Someone have a idea ? :confused::confused::confused: Thanks for any help.
-
Hi All, I have some old project that implement some GUI in MFC. I need to change one of the dialog in this GUI - and i found out that i can do it in very easy way in C#. Can / How can i mix between those two language ? i want to do in in the easy way - but i don't want to write all the application in C# ... Someone have a idea ? :confused::confused::confused: Thanks for any help.
Yanshof wrote:
How can i mix between those two language ?
You can turn on a flag that makes your C++ code able to use managed classes, and write a managed wrapper for the C++ classes you want to reuse in .NET. C++/CLI is what you're looking to do.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )