Is there anyway to catch all uncaught exceptions in a MFC VC++ 2008 application? Is there something like this Java code:
Thread.currentThread().setUncaughtExceptionHandler( new Thread.UncaughtExceptionHandler() { public void uncaughtException(Thread t, Throwable e) { System.out.println("Oops! We have a exception in Thread '" + t.getName() + "': " + e.toString()); } }); The handler should preferably catch all types of exceptions.