//================ // 数据库错误处理 //================ procedure TdmMain.AppException(Sender :TObject; E:Exception); begin if (E is EDBEngineError) then begin if ( E as EDBEngineError ).ErrorCount>1 then DBEngineError( E as EDBEngineError ) else Application.ShowException(E); end else if (E is EDatabaseError) then begin DatabaseError( E as EDatabaseError ); end else Application.ShowException(E); end; 我看不懂,请解释一下好吗? {$DEFINE DBMS_SQL65} {.$DEFINE DBMS_INTER5} ,这两句话有什么用,写对了吗?