mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
[svn] Restore automatic crashlog generation on Windows. Make sure to have a Crashes folder in the working directory of the executables.
--HG-- branch : trunk
This commit is contained in:
@@ -14,8 +14,7 @@
|
||||
#define _NO_CVCONST_H
|
||||
#include <dbghelp.h>
|
||||
#include "WheatyExceptionReport.h"
|
||||
#include "svn_revision.h"
|
||||
#define CrashFolder _T("Crashs")
|
||||
#define CrashFolder _T("Crashes")
|
||||
//#pragma comment(linker, "/defaultlib:dbghelp.lib")
|
||||
|
||||
inline LPTSTR ErrorMessage(DWORD dw)
|
||||
@@ -386,7 +385,6 @@ PEXCEPTION_POINTERS pExceptionInfo )
|
||||
GetLocalTime(&systime);
|
||||
|
||||
// Start out with a banner
|
||||
_tprintf(_T("Revision: %s\r\n"), SVN_REVISION);
|
||||
_tprintf(_T("Date %u:%u:%u. Time %u:%u \r\n"), systime.wDay, systime.wMonth, systime.wYear, systime.wHour, systime.wMinute);
|
||||
PEXCEPTION_RECORD pExceptionRecord = pExceptionInfo->ExceptionRecord;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user