PropSheet Wizard.cpp
上传用户:apjinmao
上传日期:2007-01-02
资源大小:96k
文件大小:1k
源码类别:
PropertySheet
开发平台:
Visual C++
- // PropSheet Wizard.cpp : Defines the initialization routines for the DLL.
- //
- #include "stdafx.h"
- #include <afxdllx.h>
- #include "PropSheet Wizard.h"
- #include "PropSheet Wizardaw.h"
- #ifdef _PSEUDO_DEBUG
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- static AFX_EXTENSION_MODULE PropSheetWizardDLL = { NULL, NULL };
- extern "C" int APIENTRY
- DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
- {
- if (dwReason == DLL_PROCESS_ATTACH)
- {
- TRACE0("PROPSHEET WIZARD.AWX Initializing!n");
- // Extension DLL one-time initialization
- AfxInitExtensionModule(PropSheetWizardDLL, hInstance);
- // Insert this DLL into the resource chain
- new CDynLinkLibrary(PropSheetWizardDLL);
- // Register this custom AppWizard with MFCAPWZ.DLL
- SetCustomAppWizClass(&PropSheetWizardaw);
- }
- else if (dwReason == DLL_PROCESS_DETACH)
- {
- TRACE0("PROPSHEET WIZARD.AWX Terminating!n");
- }
- return 1; // ok
- }