mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +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;
|
||||
|
||||
|
||||
@@ -211,6 +211,14 @@ copy ..\..\src\trinitycore\trinitycore.conf.dist ..\..\bin\$(PlatformName)_$(Con
|
||||
<File
|
||||
RelativePath="..\..\src\trinitycore\TrinityCore.rc">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\trinitycore\WorldRunnable.cpp">
|
||||
</File>
|
||||
|
||||
@@ -176,6 +176,14 @@
|
||||
<File
|
||||
RelativePath="..\..\src\trinityrealm\TrinityRealm.rc">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
||||
@@ -493,6 +493,14 @@
|
||||
RelativePath="..\..\src\trinitycore\TrinityCore.rc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\trinitycore\WorldRunnable.cpp"
|
||||
>
|
||||
|
||||
@@ -449,6 +449,14 @@
|
||||
RelativePath="..\..\src\trinityrealm\TrinityRealm.rc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
||||
@@ -486,6 +486,14 @@
|
||||
RelativePath="..\..\src\trinitycore\TrinityCore.rc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\trinitycore\WorldRunnable.cpp"
|
||||
>
|
||||
|
||||
@@ -438,6 +438,14 @@
|
||||
RelativePath="..\..\src\trinityrealm\TrinityRealm.rc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\shared\WheatyExceptionReport.h"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
||||
Reference in New Issue
Block a user