void CExceptionHandler::ExceptionHandler(int iSignal) #endif { #ifdef WIN32 // Write the exception report WriteExceptionReport(ExceptionInfo); #endif // Exit the current process #ifndef WIN32 exit(0); #else TerminateProcess(GetCurrentProcess(), 0); return EXCEPTION_EXECUTE_HANDLER; #endif }
void CExceptionHandler::ExceptionHandler(int iSignal) #endif { #ifdef WIN32 // Write the exception report WriteExceptionReport(ExceptionInfo); #endif // Exit the current process #ifndef WIN32 exit(0); #else SharedUtility::_TerminateProcess("GTAIV.exe"); return EXCEPTION_EXECUTE_HANDLER; #endif }