vcfwizard.cpp
来自「这是VCF框架的代码」· C++ 代码 · 共 43 行
CPP
43 行
// vcfwizard.cpp : Defines the initialization routines for the DLL.//#include "stdafx.h"#include <afxdllx.h>#include "vcfwizard.h"#include "vcfwizardaw.h"#ifdef _PSEUDO_DEBUG#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endifstatic AFX_EXTENSION_MODULE VcfwizardDLL = { NULL, NULL };extern "C" int APIENTRYDllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved){ if (dwReason == DLL_PROCESS_ATTACH) { TRACE0("VCFWIZARD.AWX Initializing!\n"); // Extension DLL one-time initialization AfxInitExtensionModule(VcfwizardDLL, hInstance); // Insert this DLL into the resource chain new CDynLinkLibrary(VcfwizardDLL); // Register this custom AppWizard with MFCAPWZ.DLL SetCustomAppWizClass(&Vcfwizardaw); } else if (dwReason == DLL_PROCESS_DETACH) { TRACE0("VCFWIZARD.AWX Terminating!\n"); // Terminate the library before destructors are called AfxTermExtensionModule(VcfwizardDLL); } return 1; // ok}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?