Indeed it's really weird to learn MFC... :D :rolleyes:Quote:
Originally Posted by Paul McKenzie
Regards,
Ovidiu
@to OP:
First, the good AppWizard can help you to avoid a lot of headaches in making your console application using MFC. It's so kind and will put for you all required header includes, libraries, and basic framework.
Here is how to call it:
- Visual Studio 6.0
- Select "File/New..." menu item or press "Ctrl+N".
- In "New" dialog, select "Projects" tab and choose "Win32 Console Application" from the list.
- Type in "Project name" field (e.g. "ConsMFC"), then push "OK".
- In "Win32 Console Application - Step 1 of 1" choose "An application that supports MFC".
- Hit "Finish"
- Visual Studio 2005
- Select "File/New/Project..." menu item or press "Ctrl+Shift+N".
- In "New Project" dialog select project type "Visual C++/Win32" and the template "Win32 Console Application".
- Type the project name (e.g. "ConsMFC"), then push "OK".
- In "Win32 Application Wizard" click on "Application Settings" (or push "Next" button).
- Check "Add common header files for: MFC".
- Hit "Finish"
Next, I will make a little sample application, trying to help solving your "homework assignment". ;)
