#include "StdAfx.h" #include "StdArx.h" #include "resource.h" #include #include "ArxEntryPoint.h" #include "ThunderCmdGroup.h" HINSTANCE _hdllInstance =NULL ; AC_IMPLEMENT_EXTENSION_MODULE(ThunderProof); extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/) { _hdllInstance = hInstance; if (dwReason == DLL_PROCESS_ATTACH) { ThunderProof.AttachInstance(hInstance); } else if (dwReason == DLL_PROCESS_DETACH) { ThunderProof.DetachInstance(); } return TRUE; // ok } AEC_IMPLEMENT_ARXCMD_ARXAPP_ENTRYPOINT(CThunderCmdGroup)