From ab7259edda926177a4b173007e560f870ab134ed Mon Sep 17 00:00:00 2001 From: yuanyuanxiang <962914132@qq.com> Date: Thu, 4 Apr 2019 16:58:45 +0800 Subject: [PATCH] =?UTF-8?q?ghost=E6=94=AF=E6=8C=81XP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReadMe.txt | 4 ++++ client/SystemManager.cpp | 5 +++++ client/ghost.vcxproj | 8 ++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ReadMe.txt b/ReadMe.txt index b7ddd36..b8d7c78 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -177,3 +177,7 @@ 2、发布V1.0.0.5。 注意:此次更新后的主控端需要和受控端匹配使用,否则可能出现问题。 + +2019.4.4 + +ghost项目采用VS2012 xp模式编译,以便支持在XP系统上运行。 diff --git a/client/SystemManager.cpp b/client/SystemManager.cpp index 3b6e3d6..2bf10d8 100644 --- a/client/SystemManager.cpp +++ b/client/SystemManager.cpp @@ -8,6 +8,11 @@ #include using namespace std; #include + +#ifndef PSAPI_VERSION +#define PSAPI_VERSION 1 +#endif + #include #pragma comment(lib,"psapi.lib") diff --git a/client/ghost.vcxproj b/client/ghost.vcxproj index c925ef4..5a2c6c7 100644 --- a/client/ghost.vcxproj +++ b/client/ghost.vcxproj @@ -19,14 +19,14 @@ Application true - v110 + v110_xp MultiByte false Application false - v110 + v110_xp true MultiByte @@ -42,9 +42,13 @@ $(Configuration)\ghost + $(WindowsSDK_IncludePath);$(IncludePath) + $(WindowsSDK_LibraryPath_x86);$(LibraryPath) $(Configuration)\ghost + $(WindowsSDK_IncludePath);$(IncludePath) + $(WindowsSDK_LibraryPath_x86);$(LibraryPath)