Future proofing a large UI Application - MFC with 2008 Feature pack, or C# and Winforms?

前端 未结 6 833
失恋的感觉
失恋的感觉 2020-12-25 09:29

My company has developed a long standing product using MFC in Visual C++ as the defacto standard for UI development. Our codebase contains ALOT of legacy/archaic code which

6条回答
  •  失恋的感觉
    2020-12-25 09:56

    You don't give a lot of detail on what your legacy code does or how it's structured. If you have certain performance criteria you might want to maintain some of your codebase in C++. You'll have an easier time doing interop with your old code if it is exposed in the right way - can you call into the existing codebase from C# today? Might be worth thinking about a project to get this structure right.

    On the point of WPF, you could argue that WinForms may be more appropriate. Moving to WinForms is a big step for you and your team. Perhaps they may be more comfortable with the move to WinForms? It's better documented, more experience in the market, and useful if you still need to support windows 2000 clients.

    You might be interested in Extending MFC Applications with the .NET Framework

    Something else to consider is C++/CLI, but I don't have experience with it.

提交回复
热议问题