Monday, December 19, 2011

HelloMFC: Create Visual C++ MFC Application using Microsoft Visual Studio 11 Developer Preview

The FREE Microsoft Visual C++ 2010 Express have limited feature only: it can create applications using limited template of CLR, Win32 and General! Alternatively, you can using Microsoft Visual Studio 11 Developer Preview to develope MFC Application using Visual C++ for FREE, till June 30, 2012.

- Start Microsoft Visual Studio 11 Developer Preview.

- Click New Project...
New Project...

- Select Visual C++ MFC Application template, with name of HelloMFC.
Select Visual C++ MFC Application template

- The current project settings show the default selection, click Next to modify the setting.
Project Setting

- The default Application type is Tabbed Multiple documents, click to select Single document. Select Project style of MFC standard, instead of default Visual Studio. Select Visual style and colors using Windows Native/Default.

[Tips: Move your mouse over any of the options in the dialog, a tooltip will be displayed to explaine the option.]

Application Type

- Accept all other default selection by clicking Finish.

- The application wizard will creat the HelloMFC application for you.

- In the Solution Explorer on the right, scroll down and double click to open ReadMe.txt. The ReadMe.txt file contains a summary of what you will find in each of the files that make up your HelloMFC application.
ReadMe.txt

- Finally you can Save All your work, Build and Run HelloMFC to see what happen:
HelloMFC

No comments:

Post a Comment