Autor Beitrag
JoachimQ
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 59


D2, D6 und D7
BeitragVerfasst: Mi 22.02.06 06:36 
Ich möchte, dass wenn mein Delphi-programm abstürzt, dass folgende Meldung nicht mehr kommt: "Diese Anwendung wird aufgrund eines ungültigen Vorgangs geschlossen."
Was muss ich ins Programm schreiben?
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 22.02.06 07:52 
Code der nicht zum Absturz führt.
Amiga-Fan
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 534



BeitragVerfasst: Mi 22.02.06 09:41 
Zitat:
Code der nicht zum Absturz führt.


sehr gute Antwort, Luckie.

Warum willst du, das dein Programm abstürzt?

_________________
- Leg dich nie mit einem Berufsprogrammierer an
- Wahre Profis akzeptieren keine einfachen Lösungen
JoachimQ Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 59


D2, D6 und D7
BeitragVerfasst: Mi 22.02.06 17:56 
user profile iconAmiga-Fan hat folgendes geschrieben:
Zitat:
Code der nicht zum Absturz führt.


sehr gute Antwort, Luckie.

Warum willst du, das dein Programm abstürzt?

Ich will eigentlich, dass das Programm nicht abstürzt. Aber falls es abstürzt, soll eben keine Fehlermeldung erscheinen.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mi 22.02.06 18:01 
Diese Fehlermeldug habe ich noch nie gehört :roll: Ist die von Windows oder Delphi? Wenn letzteres, mit try-except arbeiten. Aber Luckie hat Recht!

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot