Autor Beitrag
stigge
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 426

WinXP
Delphi 2007
BeitragVerfasst: So 27.07.08 21:40 
Hallo,

mein Programm gibt manchmal Fehlermeldungen des TMediaplayers aus (Kein MCI-Gerät geöffnet usw.)
Wie kann ich diese unterdrücken, also das sie nicht angezeigt werden?

TIA Stigge
stigge Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 426

WinXP
Delphi 2007
BeitragVerfasst: Di 29.07.08 09:54 
*PUSH*
Niemand eine Idee?
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 29.07.08 10:26 
Die saubere Lösung wäre, das Programm so zu programmieren, dass der Fehler gar nicht erst auftritt. Die dreckige Lösung wäre, um so ziemlich alles vom Mediaplayer ein Try-Except drumrumbasteln, und den Except-Teil leer lassen.

_________________
We are, we were and will not be.