set threadscope for catching more exceptions on other threads

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2094 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
dmex04
2009-10-07 22:25:50 +00:00
parent 9193d39fc3
commit c069c4f004
+1 -1
View File
@@ -128,7 +128,7 @@ namespace ProcessHacker
// Setup exception handling at first opportunity to catch exceptions generatable anywhere.
Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException);
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException, true);
try
{