![]() |
Exceptionshandling in Konsole
Wie ist globales Exceptionshandling in der Konsole realisierbar?
Bei einer normalen GUI-Anwendung gibts dazu ja ein Ereignis (OnException). Danke für die Antworten! :-D |
Re: Exceptionshandling in Konsole
Schliesse jeden Hauptblock des Programms in try-except-Blöcke ein.
Also z.B. das Hauptprogramm (begin...end.) und die Anweisungen jeder wichtigen Prozedur/Funktion. |
Re: Exceptionshandling in Konsole
Danke, aber ich weiß wie ich eine Exception auslöse!
Ich möchte nur eine globale Methode definieren um eine konsistente Fehlermeldung auszugeben. :-D Danke |
Re: Exceptionshandling in Konsole
Sieh mal im MSDN unter
![]() |
Re: Exceptionshandling in Konsole
Wenn das ganze ohne WinAPI nicht geht ist der Aufwand sicherlich zu groß! :-D
Also hab ich sonst keine Möglichkeit, oder? |
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:46 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz