Exemplo n.º 1
0
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
}
Exemplo n.º 2
0
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
}