We have an MFC MFC app for a decent size. Is there any reasonable way to convert an MFC application to a .net application, or is it better to just rewrite it? If the answer is application specific, what criteria do you use to make the decision?
I would skip WinForms and head straight for WPF.
Depending on how your application is developed, you do not need to rewrite everything. You can call C ++ code from C # code using Managed C ++ wrappers, which allows you to reuse existing C ++ code. Microsoft also has extensive documentation on the interaction between WPF and Win32 / MFC. You can do such things with WinForms.
Microsoft has gone long distances to provide migration paths from MFC to WinForms / WPF because they know that companies cannot simply throw away years of developed code.
In addition, if you use Google WPF and MFC, you will find many examples of people using two technologies in one project.
MFC WinForms , -, - ++, # ( , ).
MFC, - #, ++ # , .
, , , , MFC .
MFC -, .net, , .
, , , MFC .NET-, . Windows Forms, Win32, MFC.
MFC -, ++.NET , , , , # .
. , , .
#, WPF, Expression Blend, MVVM MFC WPF.
WPF (VS 2010) , 50% MFC , , . MDI.
MVVM , .
: , , XAML .
MFC, ( Expression Blend), , .
, MFC WPF/.NET - ; .
Do not drop Microsoft MFC or you will have people jumping from a ship. (WTF ?????)
Source: https://habr.com/ru/post/1703352/More articles:Throwing / throwing exceptions from C'tor static object in C ++ - c ++spelling arabic text in opengl - fontsDisplay a downward triangle in VB.NET ▼ (U + 25BC) - vb.netHow to check dependencies when calling a sub-layout to create when there are changes? - makefileHow to declare backward incompatible changes in an OSS project? - gitMultiple Application Logging System - loggingEmbedding Publisher Policy in an Assembly - .netHow to write a routine for DBI updates with a different number of arguments? - perlHow to write files with (readable) UTF8 characters? - cHow does app_offline.htm handle current active sessions in IIS / asp.net? - asp.netAll Articles