OSDN Git Service

Moved translation support into MUtilities library + make clean-up of temporary files...
[mutilities/MUtilities.git] / src / DLLMain.cpp
index 7c94ca8..71f9ec2 100644 (file)
@@ -31,11 +31,11 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
        switch (ul_reason_for_call)
        {
        case DLL_PROCESS_ATTACH:
+       case DLL_PROCESS_DETACH:
        case DLL_THREAD_ATTACH:
        case DLL_THREAD_DETACH:
-       case DLL_PROCESS_DETACH:
                break;
-       }
+       };
        return TRUE;
 }