Skip to content

Commit

Permalink
Test XP build
Browse files Browse the repository at this point in the history
  • Loading branch information
UnrealKaraulov committed Jan 10, 2025
1 parent 07c92cd commit 9be8df8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
6 changes: 3 additions & 3 deletions DotAAllstarsHelperFinal/DotAAllstarsHelper.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LibraryPath>.\..\MinHook;$(LibraryPath);.\..\JPEG\;.\..\NTDLL\;.\..\includes\;.\..\portaudio\;.\..\openssl\;.\..\zlib\lib\</LibraryPath>
<IncludePath>$(IncludePath);.\..\JPEG\;.\..\NTDLL\;.\..\includes\;.\..\portaudio\include\;.\..\ydbase\;.\..\openssl\include\;.\..\zlib\include\;.\..\minhook_for_build\include</IncludePath>
<LibraryPath>.\..\MinHook;.\..\JPEG\;.\..\NTDLL\;.\..\includes\;.\..\portaudio\;.\..\openssl\;.\..\zlib\lib\;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);$(WindowsSdk_71A_LibraryPath_x86)</LibraryPath>
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);.\..\openssl\include\;$(WindowsSdk_71A_IncludePath);.\..\JPEG\;.\..\NTDLL\;.\..\includes\;.\..\portaudio\include\;.\..\ydbase\;.\..\zlib\include\;.\..\minhook_for_build\include</IncludePath>
<CodeAnalysisRuleSet>CppCoreCheckRawPointerRules.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>false</RunCodeAnalysis>
<IgnoreImportLibrary>
Expand Down Expand Up @@ -97,7 +97,7 @@
<ModuleDefinitionFile>Source.def</ModuleDefinitionFile>
<IgnoreSpecificDefaultLibraries>
</IgnoreSpecificDefaultLibraries>
<AdditionalDependencies>version.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;libcrypto.lib;libssl.lib;zlib.lib;ijl15.lib;libMinHook.x86.lib;dbghelp.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>version.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;libcrypto.lib;libssl.lib;zlib.lib;ijl15.lib;libMinHook.x86.lib;dbghelp.lib;mscoree.lib;psapi.lib;legacy_stdio_definitions.lib;%(AdditionalDependencies)</AdditionalDependencies>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
<LinkStatus>
Expand Down
6 changes: 2 additions & 4 deletions DotAAllstarsHelperFinal/Main.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,15 @@ namespace fs = std::filesystem;
#include "MegaPacketHandler.h"
#include <stdlib.h>
//#include <portaudio.h>
//#pragma comment (lib, "portaudio.lib")
#include "quantizer.h"
#include "BlpReadWrite.h"
#include <ijl.h>
#include "GameStructs.h"

extern bool DEBUG_FULL;

#pragma comment(lib,"legacy_stdio_definitions.lib")
#pragma comment(lib,"Psapi.lib")
#pragma comment (lib, "Ws2_32.lib")
//#pragma comment(lib,"legacy_stdio_definitions.lib")
//#pragma comment (lib, "Ws2_32.lib")

#define IsKeyPressed(CODE) ((GetAsyncKeyState(CODE) & 0x8000) > 0)

Expand Down
1 change: 0 additions & 1 deletion DotAAllstarsHelperFinal/MegaPacketHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ void SendData(unsigned char* sockstr, unsigned char header, unsigned char packet
EnterCriticalSection((LPCRITICAL_SECTION) * (unsigned char**)(sockstr + 0x44));
GAME_SendPacketDir(sockstr, sockstr, &send_data_buf[0], (int)send_data_buf.size());
LeaveCriticalSection((LPCRITICAL_SECTION) * (unsigned char**)(sockstr + 0x44));
WSAGetLastError();
}

void SendIngameAction(unsigned char* data, int datalen)
Expand Down
2 changes: 0 additions & 2 deletions DotAAllstarsHelperFinal/StackWalker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@
#include <atomic>
#include <mutex>

#pragma comment(lib, "version.lib") // for "VerQueryValue"

#pragma warning(disable : 4826)
#if _MSC_VER >= 1900
#pragma warning(disable : 4091) // For fix unnamed enums from DbgHelp.h
Expand Down

0 comments on commit 9be8df8

Please sign in to comment.