aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw12x <none@none>2008-10-23 05:57:15 -0500
committerw12x <none@none>2008-10-23 05:57:15 -0500
commitc98b24cf29a8cd98201ac7bd00b457d8842c0f2d (patch)
tree6e246cf77bcc6c0d59a06d11472badfeea5c249f
parentb8362cd7f13bf51e5aa1b3e9755d39e39682676f (diff)
[svn] Restore automatic crashlog generation on Windows. Make sure to have a Crashes folder in the working directory of the executables.
--HG-- branch : trunk
-rw-r--r--src/shared/WheatyExceptionReport.cpp4
-rw-r--r--win/VC71/TrinityCore.vcproj8
-rw-r--r--win/VC71/TrinityRealm.vcproj8
-rw-r--r--win/VC80/TrinityCore.vcproj8
-rw-r--r--win/VC80/TrinityRealm.vcproj8
-rw-r--r--win/VC90/TrinityCore.vcproj8
-rw-r--r--win/VC90/TrinityRealm.vcproj8
7 files changed, 49 insertions, 3 deletions
diff --git a/src/shared/WheatyExceptionReport.cpp b/src/shared/WheatyExceptionReport.cpp
index 41d2a5e2727..6a4276cca0f 100644
--- a/src/shared/WheatyExceptionReport.cpp
+++ b/src/shared/WheatyExceptionReport.cpp
@@ -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;
diff --git a/win/VC71/TrinityCore.vcproj b/win/VC71/TrinityCore.vcproj
index ca6f5130e6d..03ef53ab66c 100644
--- a/win/VC71/TrinityCore.vcproj
+++ b/win/VC71/TrinityCore.vcproj
@@ -212,6 +212,14 @@ copy ..\..\src\trinitycore\trinitycore.conf.dist ..\..\bin\$(PlatformName)_$(Con
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>
<File
diff --git a/win/VC71/TrinityRealm.vcproj b/win/VC71/TrinityRealm.vcproj
index f40805b1882..02f8993705d 100644
--- a/win/VC71/TrinityRealm.vcproj
+++ b/win/VC71/TrinityRealm.vcproj
@@ -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>
diff --git a/win/VC80/TrinityCore.vcproj b/win/VC80/TrinityCore.vcproj
index b15347662a5..6209bd3f9aa 100644
--- a/win/VC80/TrinityCore.vcproj
+++ b/win/VC80/TrinityCore.vcproj
@@ -494,6 +494,14 @@
>
</File>
<File
+ RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\src\shared\WheatyExceptionReport.h"
+ >
+ </File>
+ <File
RelativePath="..\..\src\trinitycore\WorldRunnable.cpp"
>
</File>
diff --git a/win/VC80/TrinityRealm.vcproj b/win/VC80/TrinityRealm.vcproj
index 1171ef5af5f..b6c91e47eb8 100644
--- a/win/VC80/TrinityRealm.vcproj
+++ b/win/VC80/TrinityRealm.vcproj
@@ -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>
diff --git a/win/VC90/TrinityCore.vcproj b/win/VC90/TrinityCore.vcproj
index 6402c655558..39d09f277be 100644
--- a/win/VC90/TrinityCore.vcproj
+++ b/win/VC90/TrinityCore.vcproj
@@ -487,6 +487,14 @@
>
</File>
<File
+ RelativePath="..\..\src\shared\WheatyExceptionReport.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\src\shared\WheatyExceptionReport.h"
+ >
+ </File>
+ <File
RelativePath="..\..\src\trinitycore\WorldRunnable.cpp"
>
</File>
diff --git a/win/VC90/TrinityRealm.vcproj b/win/VC90/TrinityRealm.vcproj
index ab6486af0cd..80ba6157e8b 100644
--- a/win/VC90/TrinityRealm.vcproj
+++ b/win/VC90/TrinityRealm.vcproj
@@ -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>