mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
comment cleanup :P
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2262 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -126,14 +126,12 @@ namespace ProcessHacker
|
||||
}
|
||||
|
||||
// Check OS support.
|
||||
|
||||
if (OSVersion.IsBelow(WindowsVersion.TwoThousand) || OSVersion.IsAbove(WindowsVersion.Seven))
|
||||
{
|
||||
PhUtils.ShowWarning("Your operating system is not supported by Process Hacker.");
|
||||
}
|
||||
|
||||
#if !DEBUG
|
||||
// Setup exception handling at first opportunity to catch exceptions generatable anywhere.
|
||||
// Setup exception handling at first opportunity.
|
||||
Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException);
|
||||
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException, true);
|
||||
|
||||
Reference in New Issue
Block a user