65.9K
CodeProject is changing. Read more.
Home

An MFC Application Wizard with .NET Framework Support

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.70/5 (7 votes)

Jun 1, 2005

viewsIcon

40371

downloadIcon

816

This paper gives a general MFC application wizard which supports .NET Framework.

Introduction

To successfully install the wizard, you must first download "Wizard.zip". After decompressing the file "Wizard.zip", you will obtain a directory "Microsoft Visual Studio .NET". It has two sub-directories, one is codeproject and the other is vc. Now copy all the sub-directories of this directory into your "Visual Studio .NET 2003" install directory.

After installing this wizard, when a new project is created, a new wizard appears (name: MFC Application with .NET Framework Support):

You can add the .NET user control to your MFC project by using another wizard. This wizard is an "Add Class” wizard which appears when you add a class into your project:

Using this wizard, you can create an MFC application which can host a user control as a MFC CView object:

If you have any questions, please contact me at sunhuizlz@yeah.net.