EgtInterface :
- aggiunti controlli contro debug in versioni release - modifiche configurazione per copia DLL debug.
This commit is contained in:
@@ -43,6 +43,12 @@ 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
|
||||
s_hModule = hModule ;
|
||||
EGT_TRACE( "EgtInterface.dll Initializing!\n") ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user