This commit is contained in:
alexey.min
2012-02-03 12:03:33 +00:00
parent 0e47178e31
commit ddc3cdddd1
5 changed files with 34 additions and 11 deletions

View File

@@ -124,12 +124,12 @@ DWORD WINAPI DllThread(LPVOID lpParam)
log_error( LOG_WARNING, "Maybe we're running in GameGuard protected program?\n" );
log_error( LOG_WARNING, "Be careful!\n" );
}
Hook_InterceptConnect_my();
if( !Hook_ValidateInterception_my() )
{
log_error( LOG_ERROR, "Seems like my try to intercept ws2_32.dll!connect() failed.\n" );
log_error( LOG_ERROR, "All network connections will not be intercepted!\n" );
}
//Hook_InterceptConnect_my();
//if( !Hook_ValidateInterception_my() )
//{
// log_error( LOG_ERROR, "Seems like my try to intercept ws2_32.dll!connect() failed.\n" );
// log_error( LOG_ERROR, "All network connections will not be intercepted!\n" );
//}
//Hook_InterceptConnect_Dis(); // this unused..
#ifdef _MSC_VER
}