aboutsummaryrefslogtreecommitdiff
path: root/TestDLL
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-09-19 21:44:05 +0200
committerToni Uhlig <matzeton@googlemail.com>2019-09-19 21:44:05 +0200
commitc1b8c46e437940865262880e23687c1b0325f210 (patch)
tree357300be9d2b99b391df6c35e81d0a143bc0e8fd /TestDLL
parent3cb96bec8621825adf17181b764294ea85803b14 (diff)
DLLHelper loads DLL to memory and verifies its headers
Diffstat (limited to 'TestDLL')
-rw-r--r--TestDLL/dllmain.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/TestDLL/dllmain.cpp b/TestDLL/dllmain.cpp
index 6d84f90..4143b7b 100644
--- a/TestDLL/dllmain.cpp
+++ b/TestDLL/dllmain.cpp
@@ -15,6 +15,14 @@ BOOL APIENTRY DllMain(HMODULE hModule,
break;
}
+ static bool bShowMessage = true;
+ if (bShowMessage) {
+ bShowMessage = false;
+ }
+ else {
+ return true;
+ }
+
return MessageBoxA(NULL,
"DllMain from TestDLL",
"TestDLL Notification",