AppWizard Programming Reference

OverviewsHow Do IDetails

Feature Only in Professional and Enterprise Editions   Creating a Custom AppWizard is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

MFCAPWZ.DLL contains the code that controls the default behavior of the MFC AppWizard. It also contains the code that controls the interactions between the MFC AppWizard and any custom AppWizards you create. This reference describes the programming interface to MFCAPWZ.DLL. You can use the interface to add functionality to the default behavior of your custom AppWizard. For more information, see the descriptions of the items in the following table.

Statements Description
NEWPROJ.INF Statements The syntax for and behavior of the statements that MFCAPWZ.DLL uses to generate a project.
AppWizard C++ Classes Description
CappWizStepDlg The class from which custom AppWizard steps are derived.
CcustomAppWiz The class that provides communication services between MFCAPWZ.DLL and your custom AppWizard.
OutputStream The class that wraps two member functions used to write custom resource templates to an output stream.
AppWizard C Functions Description
C Functions Exported by MFCAPWZ.DLL MFCAPWZ.DLL and your custom AppWizard use these C functions to communicate.
AppWizard Macros Description
The Dictionary Storage location for both your macros and the standard MFC AppWizard macros.
Standard MFC AppWizard Macros Macros that track the choices an AppWizard user makes from the Projects tab of the New dialog box, and from AppWizard’s steps. MFCAPWZ.DLL uses many of the same macros to track the choices that a custom AppWizard user makes from the Projects tab of the New dialog box.
Custom Resource Templates Description
Custom Resource Templates The building blocks that MFCAPWZ.DLL and a finished custom AppWizard use to create a final application. You can create and add your own custom resource templates to your custom AppWizard project.
Standard Custom Resource Templates The templates that MFCAPWZ.DLL and the DLLs containing localized resources, those with names that take the form APPWZ*.DLL, use to build the files and user-interface components that compose a project.
AppWizard Directives Description
Standard MFC AppWizard Directives Directives, such as $$IF, $$ELIF, $$ELSE, $$ENDIF, $$INCLUDE, $$BEGINLOOP, $$ENDLOOP, and $$SET_DEFAULT_LANG used by MFCAPWZ.DLL to generalize its custom resource templates so that the templates can be used for multiple project types. You will probably need to use these directives when you write a custom AppWizard.

See Also   Overview of Creating a Custom AppWizard, Adding Functionality to Your Custom AppWizard, CAppWizStepDlg, CCustomAppWiz, OutputStream, C Functions Exported by MFCAPWZ.DLL, The Dictionary, Standard AppWizard Macros, Understanding Custom Resource Templates, Standard Custom Resource Templates, Understanding CONFIRM.INF and NEWPROJ.INF