All AppWizard Projects

HomeOverviewsHow Do IDetailsSample

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 Visual C++ Editions.

The standard MFC AppWizard copies the following resource templates into every AppWizard project:

README.TXT

Two of these templates are generated: one in a custom AppWizard project’s root directory and one in the custom AppWizard project’s TEMPLATE directory. The first describes the files that the standard MFC AppWizard generated for your custom AppWizard project. The second is a template that the custom AppWizard writer uses to create a README.TXT file for the custom AppWizard user. This file is one of the templates provided by MFCAPWZ.DLL.

ROOT.RC2

This secondary resource script file is copied to your custom AppWizard project’s TEMPLATE directory. Its purpose is to contain those resources that are not edited in the development environment. Resources that are edited in the development environment are kept in the main .RC file. This file is one of the templates provided by MFCAPWZ.DLL.

STDAFX.CPP

This implementation file is copied to your custom AppWizard project’s TEMPLATE directory. It is used to build a precompiled header (.PCH) file and a precompiled types file named STDAFX.OBJ. This file is one of the templates provided by MFCAPWZ.DLL.

STDAFX.H

This header file is copied to your custom AppWizard project’s TEMPLATE directory. It is used to build a .PCH file and a precompiled types file named STDAFX.OBJ. This file is one of the templates provided by MFCAPWZ.DLL. It is important that you neither define nor undefine any of the _AFX_NO_XXX macros in stdafx.h. See the Knowledge Base article "PRB: Problems Occur When Defining _AFX_NO_XXX". You can find Knowledge Base articles on the MSDN Library CD, or at http://www.microsoft.com/kb/.

See Also   Standard Custom Resource Templates, Dialog-Based Applications, Dynamic-Link Libraries, MDI and SDI Applications, ActiveX Applications, Help File Support, Custom AppWizard Help File Support, Database Applications.