Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By MICKEY WILLIAMS and David Bennett

How Do AppWizards Work?

Before we get into the nuts and bolts of creating your own AppWizards, let's step back and take a look at just how AppWizards work in general. Although you probably have used an AppWizard more than once, you might not know what's going on behind the scenes to create your new project.

When you start one of the Application Wizards from the Projects tab of the New File dialog box, Developer Studio calls a special dynamic link library (DLL) to handle the dialog boxes for each step of the AppWizard. Each AppWizard has its own special DLL that handles these step dialog boxes. Custom AppWizard DLLs are given the extension .AWX.

When you finish with the AppWizard step dialog boxes, the AppWizard creates the new project from a set of special template files. These template files include the framework for the source code, as well as other things, such as binary resources for your new application. The settings chosen in the step dialog boxes are used in processing the template file to create the new application files, enabling the template to be customized according to the user's selections.

You will look at this process in greater detail and how you can customize it in the following sections.

Share ThisShare This

Informit Network