summaryrefslogtreecommitdiff
path: root/ACE/ace/Object_Manager.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-12-15 15:01:23 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-12-15 15:01:23 +0000
commit2c949803f4ebcfb3771b7e560cbebdecbb70e074 (patch)
treed992f733c4865f739e10b150a7fa5c6f28969412 /ACE/ace/Object_Manager.cpp
parenta2f3cd42eaeaa4f7ab870372a28a04f70a246c1c (diff)
downloadATCD-2c949803f4ebcfb3771b7e560cbebdecbb70e074.tar.gz
Sat Dec 15 14:57:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Object_Manager.cpp')
-rw-r--r--ACE/ace/Object_Manager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ACE/ace/Object_Manager.cpp b/ACE/ace/Object_Manager.cpp
index d5cfc2eb357..313eb6a116a 100644
--- a/ACE/ace/Object_Manager.cpp
+++ b/ACE/ace/Object_Manager.cpp
@@ -251,6 +251,9 @@ ACE_Object_Manager::init (void)
_CrtSetReportFile( _CRT_ERROR, _CRTDBG_FILE_STDERR );
#endif /* _DEBUG && _MSC_VER || __INTEL_COMPILER */
+ // The system does not display the critical-error-handler message box
+ SetErrorMode(SEM_FAILCRITICALERRORS);
+
// And this will catch all unhandled exceptions.
SetUnhandledExceptionFilter (&ACE_UnhandledExceptionFilter);
#endif /* ACE_DISABLE_WIN32_ERROR_WINDOWS && ACE_WIN32 && !ACE_HAS_WINCE */