Add detour lib

This commit is contained in:
H3XploR
2026-05-21 23:59:33 +02:00
parent df678c5839
commit 11456ebd19
4 changed files with 49 additions and 9 deletions
+22
View File
@@ -0,0 +1,22 @@
#pragma once
#include <iostream>
#include <algorithm>
#include <cctype>
#include <cstring>
#include <sstream>
#include <string>
#include <windows.h>
#include <psapi.h>
#include <detours.h>
// If compiling as 64-bit
#ifdef _M_X64
#pragma comment (lib, "detoursx64.lib")
#endif // _M_X64
// If compiling as 32-bit
#ifdef _M_IX86
#pragma comment (lib, "detoursx86.lib")
#endif // _M_IX86
bool analyze_process_handle(HANDLE hProcess);