EgtNumKernel 1.5i4 :

- tolto controllo antidebug da release per VB.NET.
This commit is contained in:
Dario Sassi
2014-09-18 14:54:30 +00:00
parent 1857d6381b
commit 90c6e671fe
2 changed files with 7 additions and 6 deletions
+7 -6
View File
@@ -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") ;
}
BIN
View File
Binary file not shown.