EgtInterface 1.5i4 :

- tolto controllo antidebug da release per VB.NET.
This commit is contained in:
Dario Sassi
2014-09-18 14:59:58 +00:00
parent 7ff53dc0d7
commit 9c5d823190
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( "EgtInterface.dll Initializing!\n") ;
}