Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Exception Code To String (https://www.delphipraxis.net/206280-exception-code-string.html)

Der schöne Günther 6. Dez 2020 20:07

Exception Code To String
 
Gibt es eine Routine welche die Windows-Exception-Codes (wie z.B.
Code:
EXCEPTION_ACCESS_VIOLATION
) in einen String wie "Access violation" umwandelt?

So etwas wie SysErrorMessage(..) für die Codes wie "Datei nicht gefunden".

Ich weiß, es sind nicht viele Exception Codes (https://docs.microsoft.com/en-us/win...ception_record), aber bevor ich die jetzt von Hand abtippe...


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz