#include #include #include #include "globals.h" BOOL DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID /*fProcessUnload*/) { if (DLL_PROCESS_ATTACH == dwReason) { DisableThreadLibraryCalls(hinstDll); g_hinst = hinstDll; } else if (DLL_PROCESS_DETACH == dwReason) { } return TRUE; }