From: Andy D. <kha...@us...> - 2004-04-07 16:49:40
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4524/src/client Modified Files: psengine.cpp Log Message: Added an unhandled exception filter so that minidumps will be created when application crashes. This will only compile on MSVC 7 (or MSVC 6 if the Platform SDK has been installed). Index: psengine.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/psengine.cpp,v retrieving revision 1.361 retrieving revision 1.362 diff -C2 -d -r1.361 -r1.362 *** psengine.cpp 7 Apr 2004 01:55:39 -0000 1.361 --- psengine.cpp 7 Apr 2004 16:36:40 -0000 1.362 *************** *** 66,69 **** --- 66,73 ---- #include "psslotmgr.h" + #if defined(_MSC_VER) && (_MSC_VER >= 1300) + #include "win32/mdump.h" + #endif + ///////////////////////////////////////////////////////////////////////////// // PAWS Includes *************** *** 150,153 **** --- 154,162 ---- #endif + #if defined(_MSC_VER) && (_MSC_VER >= 1300) + // Initialise the crash dumper. + MiniDumper minidumper("Planeshift"); + #endif + #define APPNAME "Planeshift Molecular Blue" #define CONFIGFILENAME "/this/planeshift.cfg" |