OSDN Git Service

WindowsNT固定
authortnishi <tnishi@git.osdn.net>
Fri, 25 Nov 2016 09:43:11 +0000 (18:43 +0900)
committertnishi <tnishi@git.osdn.net>
Fri, 25 Nov 2016 09:43:11 +0000 (18:43 +0900)
DCHookTest/DCHookMain.cpp
DCHookTest/Util.cpp

index cff19b3..0aba205 100644 (file)
@@ -74,6 +74,7 @@ __fastcall TDCHookMainForm::TDCHookMainForm(TComponent* Owner)
        hDll = NULL;
        EnablePopup = true;
 
+#if 0
        WindowsNT = false;
 
        OSVERSIONINFO VersionInfo;
@@ -84,6 +85,7 @@ __fastcall TDCHookMainForm::TDCHookMainForm(TComponent* Owner)
                        WindowsNT = true;
                        break;
        }
+#endif
        CheckWOW64();
        BootUp = true;
        Capturing = false;
index 3f67cef..ec8168c 100644 (file)
@@ -24,7 +24,7 @@ const char *AMODI_EXE_PATH = "amodi.exe";
 
 const char *EXMODIST_EXE_PATH = "ExMODIst.exe";
 
-bool WindowsNT = false;
+bool WindowsNT = true;
 bool fWow64 = false;
 
 HWND hwndMain = NULL;