Einzelnen Beitrag anzeigen

blablab

Registriert seit: 3. Jan 2006
509 Beiträge
 
Delphi 7 Enterprise
 
#5

AW: Exception in Anwendung ohne Form

  Alt 20. Feb 2013, 09:13
Danke!

Scheinbar wird es von TApplication auch nicht anders geregelt:
Delphi-Quellcode:
procedure TApplication.ShowException(E: Exception);
var
  Msg: string;
begin
  Msg := E.Message;
  if (Msg <> '') and (AnsiLastChar(Msg) > '.') then Msg := Msg + '.';
  MessageBox(PChar(Msg), PChar(GetTitle), MB_OK + MB_ICONSTOP);
end;
  Mit Zitat antworten Zitat