From f9c730e364d17f8d479d7e17c85d2df205de5929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E5=91=A8XiaoZhou?= Date: Wed, 8 Oct 2025 03:48:45 +0800 Subject: [PATCH] [BugFix] Parameter Passing [Fix] Parameters not passed to DllMain --- includes/ReflectiveDLLInjection/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/ReflectiveDLLInjection/CMakeLists.txt b/includes/ReflectiveDLLInjection/CMakeLists.txt index aafc0ae..58c2184 100644 --- a/includes/ReflectiveDLLInjection/CMakeLists.txt +++ b/includes/ReflectiveDLLInjection/CMakeLists.txt @@ -7,3 +7,5 @@ add_library(ReflectiveDLLInjection STATIC target_include_directories(ReflectiveDLLInjection PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ) + +target_compile_definitions(ReflectiveDLLInjection PRIVATE REFLECTIVEDLLINJECTION_VIA_LOADREMOTELIBRARYR) \ No newline at end of file