Creating a Project [Previous] [Next]

Creating a Project

You have two AppWizard options for creating a Win32 project that is a suitable starting point for building an ATL application.

The first option is to create an EXE server by using the ATL COM AppWizard. This choice is good if you think you might want your application to support Automation. Naturally, all the ATL wizards will work right off the bat.

The second option is to create a simple application by using the Win32 EXE Application wizard and then manually add ATL support. This choice involves a little more work if you want to use the ATL object and message wizards because certain files and statements must be present in the project before they will run. The changes required to enable the wizards are described in the following list.

Using the second option, we now have a lightweight application shell to which we can begin adding functionality.