G gxw Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-18 #3 嘿嘿每个事件或函数均加try..except end或try..finally end
J jsyc Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-18 #5 procedure TForm1.FormCreate(Sender: TObject); begin Application.OnException := AppException; end; procedure TForm1.AppException(Sender: TObject; E: Exception); begin // do nothing end;
procedure TForm1.FormCreate(Sender: TObject); begin Application.OnException := AppException; end; procedure TForm1.AppException(Sender: TObject; E: Exception); begin // do nothing end;
唐 唐佐平 Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-18 #6 要想让一个人闭嘴除非杀了他, 要想让Delphi不报错除非卸载它………[8D]
H hzjone Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-18 #8 该报错的还是得让他报不然程序,,,BUG就找不出来了... 不报错,,jsyc方法可行...