[PATCH] (issue116) Add error message when selftest failed
Wald Commits
scm-commit at wald.intevation.org
Thu Sep 11 10:26:35 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1410423967 -7200
# Node ID 96e448e1cc9ff2e04586b5546b5ca7dde961dd92
# Parent 7e1fd6d967142824a81ffe29a5baa3e0fda2c467
(issue116) Add error message when selftest failed
diff -r 7e1fd6d96714 -r 96e448e1cc9f ui/main.cpp
--- a/ui/main.cpp Thu Sep 11 10:18:46 2014 +0200
+++ b/ui/main.cpp Thu Sep 11 10:26:07 2014 +0200
@@ -83,7 +83,16 @@
* monitor executable corruptions.
*/
if (!selftest()) {
- syslog_error_printf ("Integrity check failed.");
+ syslog_error_printf("Integrity check failed.");
+ MessageBoxW(NULL,
+ L"TrustBridge wurde nach der Installation modifizert.\n"
+ L"Um ihr System zu schützen wurde das starten der Anwendung abgebrochen.\n"
+ L"Bitte installieren Sie TrustBridge erneut.\n\n"
+ L"TrustBridge has been modified after installaton.\n"
+ L"To protect your system the application launch has been aborted.\n"
+ L"Please reinstall TrustBridge.",
+ L"Integritätsprüfung fehlgeschlagen / Integrity check failed.",
+ MB_ICONERROR | MB_OK);
return -1;
}
#endif
More information about the Trustbridge-commits
mailing list