Z zzd Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-30 #1 请问如何在DELPHI中的异常响应时,当出现I/O ERROR53错误时,使系统不 出现错误提示,而由程序员自行控制.
J Jetideas Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-30 #3 try maybe raise exception programs; except raise Exception.Create('I/OError 5'); end;
C CJ Unregistered / Unconfirmed GUEST, unregistred user! 1999-09-30 #4 try something except //you could do nothing end; or u could use such code: procedure myexception(sender:tobject); form1.oncreate begin application.onexception := myexception; end; procedure myexception(sender:tobject); begin //do nothing end;
try something except //you could do nothing end; or u could use such code: procedure myexception(sender:tobject); form1.oncreate begin application.onexception := myexception; end; procedure myexception(sender:tobject); begin //do nothing end;