你是在delphi的编译环境中运行吧??
你不再delphi的调试环境下运行,出错后就不会有那个对话框。

解决方案 »

  1.   

    不妨试试以下代码:
    var  TempDate: TDateTime;
    begin
      TempDate.create;
      try
        TempDate := StrToDateTime('99/99/1998');    
      except
        on E: EConvertError do
        TempDate:=0;
      end;
    end;
      

  2.   

    Delphi默认的调试状态是出现错误就停止。你需要在 Debugger Options 窗口中将
    Stop on Delphi Exceptions 选项去掉。
      

  3.   

    同意 TechnoFantasy(www.applevb.com)
      

  4.   

    同意楼上~~
    如果你不再Delphi中运行程序~就不会看到报错信息了~~
      

  5.   

    你要将tools/Debugger Option/Language Exceptions页的Stop on Delphi Exceptions去掉才会报你自已的错。