AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Exceptionshandling in Konsole

Offene Frage von "mytar"
Ein Thema von mytar · begonnen am 23. Okt 2004 · letzter Beitrag vom 24. Okt 2004
Antwort Antwort
mytar

Registriert seit: 30. Mai 2004
Ort: Zermatt
411 Beiträge
 
Delphi 6 Enterprise
 
#1

Exceptionshandling in Konsole

  Alt 23. Okt 2004, 12:58
Wie ist globales Exceptionshandling in der Konsole realisierbar?

Bei einer normalen GUI-Anwendung gibts dazu ja ein Ereignis (OnException).

Danke für die Antworten!
Francis Obikwelu
greetz
mytar
  Mit Zitat antworten Zitat
Dax
(Gast)

n/a Beiträge
 
#2

Re: Exceptionshandling in Konsole

  Alt 23. Okt 2004, 13:04
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.
  Mit Zitat antworten Zitat
mytar

Registriert seit: 30. Mai 2004
Ort: Zermatt
411 Beiträge
 
Delphi 6 Enterprise
 
#3

Re: Exceptionshandling in Konsole

  Alt 23. Okt 2004, 13:07
Danke, aber ich weiß wie ich eine Exception auslöse!

Ich möchte nur eine globale Methode definieren um eine konsistente
Fehlermeldung auszugeben.

Danke
Francis Obikwelu
greetz
mytar
  Mit Zitat antworten Zitat
Dax
(Gast)

n/a Beiträge
 
#4

Re: Exceptionshandling in Konsole

  Alt 23. Okt 2004, 13:10
Sieh mal im MSDN unter MSDN-Library durchsuchenSetUnhandledExceptionFilter nach..
  Mit Zitat antworten Zitat
mytar

Registriert seit: 30. Mai 2004
Ort: Zermatt
411 Beiträge
 
Delphi 6 Enterprise
 
#5

Re: Exceptionshandling in Konsole

  Alt 24. Okt 2004, 08:10
Wenn das ganze ohne WinAPI nicht geht ist der Aufwand sicherlich zu groß!

Also hab ich sonst keine Möglichkeit, oder?
Francis Obikwelu
greetz
mytar
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:34 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