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)