From 90c6e671fe196689f6c7bf3558410f452b48d29b Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 18 Sep 2014 14:54:30 +0000 Subject: [PATCH] EgtNumKernel 1.5i4 : - tolto controllo antidebug da release per VB.NET. --- ENkDllMain.cpp | 13 +++++++------ EgtNumKernel.rc | Bin 11662 -> 11662 bytes 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ENkDllMain.cpp b/ENkDllMain.cpp index d3cd333..5d3bd59 100644 --- a/ENkDllMain.cpp +++ b/ENkDllMain.cpp @@ -43,12 +43,13 @@ DllMain( HMODULE hModule, DWORD dwReason, LPVOID lpReserved) { if ( dwReason == DLL_PROCESS_ATTACH) { - #if defined( NDEBUG) - BOOL IsDbgPresent = FALSE ; - CheckRemoteDebuggerPresent( GetCurrentProcess(), &IsDbgPresent) ; - if ( IsDbgPresent) - return 0 ; - #endif + // Controllo commentato per problemi con VB.NET + //#if defined( NDEBUG) + // BOOL IsDbgPresent = FALSE ; + // CheckRemoteDebuggerPresent( GetCurrentProcess(), &IsDbgPresent) ; + // if ( IsDbgPresent) + // return 0 ; + //#endif s_hModule = hModule ; EGT_TRACE( "EgtNumKernel.dll Initializing!\n") ; } diff --git a/EgtNumKernel.rc b/EgtNumKernel.rc index 654ee4df0378aea76cc84af3cf81605667d1b182..4897e35e68a15e32d385f50e5bf9fb4fa42c1765 100644 GIT binary patch delta 94 zcmeB+?u*{=jg8S{^J+O+W=50A2RU^&e^Yc}+}y_P0_1N#&1Z=ac4FLIBJ74uI7J#P JjAF