MFC
Do I need to rewrite my MFC application to take advantage of .NET?
Most MFC-based applications represent significant investments in development that would be thrown away if a rewrite to another language were undertaken. Microsoft recommends that customers evaluate this cost against the much simpler route of extending existing MFC applications to take advantage of the .NET Framework. With relatively little work, an MFC application can be compiled wholly or partially to MSIL, and extended with new features using any variety of CLR languages, including C++ and C#.
What is the future of MFC?
In Whidbey and beyond MFC remains a core feature of the professional Visual C++ toolkit. While MFC is not always the best or most modern library for writing new applications, it continues to offer features that are not available elsewhere. Microsoft will continue to maintain and extend MFC to make it more secure and robust, and to enable it to interoperate better with newer technologies and libraries. For example, new classes and features in Whidbey enable existing MFC applications to be extended and augmented with capabilities built on the Microsoft .NET Framework.
Will Microsoft continue to support and add features to MFC?
Microsoft has no plans to discontinue support for MFC. New features will in most cases enable MFC applications to better interoperate with the .NET Framework.
What support does MFC offer for Windows Forms?
Currently there is no explicit library support for Windows Forms in MFC (Visual C++ .NET 2002, 2003).
Visual C++ Whidbey will support Windows Forms interop with MFC, through the introduction of new MFC classes. You will be able to do the following in an MFC application:
* Use Windows Forms as modal and modeless dialog box
* Use a Windows Forms Control as a child window or dialog box control
* Use Windows Forms Form/Control as an MFC CView, participating in command routing and updates.
MFC applications will be compiled easily with /clr compiler option and be able to take full advantage of the .NET Framework.
Partager