mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
XP fix: AddERExcludedApplication now gets last error if it returns false.
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2034 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -131,7 +131,9 @@ namespace ProcessHacker
|
||||
{
|
||||
if (!Native.Api.Win32.AddERExcludedApplication(AppDomain.CurrentDomain.FriendlyName))
|
||||
{
|
||||
PhUtils.ShowWarning("Process Hacker was not excluded from Windows Error Reporting");
|
||||
PhUtils.ShowWarning(
|
||||
"Process Hacker was not excluded from Windows Error Reporting: " +
|
||||
Win32.GetLastErrorMessage());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user