s_arb
asked on
Deactivating BDE Error Messages
Hi
Ā I want to handle database errors by TRY..Except
Command.I do that, but i get BDE error messages too.
1-How can i disable this messages?
2-How can i get database Error Codes in order to
understand whitch error has been happened(something
like VB Err object)
Thanks
Ā I want to handle database errors by TRY..Except
Command.I do that, but i get BDE error messages too.
1-How can i disable this messages?
2-How can i get database Error Codes in order to
understand whitch error has been happened(something
like VB Err object)
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
Delphi IDE error messages can be ignored! Select 'Tools-Debugger Options' from main menu. Go to the 'Language exceptions' page and uncheck 'Stop on Delphi Exceptions'. Press 'OK' button. That's all.
Regards, Geo
Delphi IDE error messages can be ignored! Select 'Tools-Debugger Options' from main menu. Go to the 'Language exceptions' page and uncheck 'Stop on Delphi Exceptions'. Press 'OK' button. That's all.
Regards, Geo
Maybe the BDE functions will help?
DbiGetErrorContext(eContex t, szContext)
DbiGetErrorEntry(uEntry, pulNativeError, szError)
DbiGetErrorString(bFull, pErrInfo)
DbiGetErrorContext(eContex
DbiGetErrorEntry(uEntry, pulNativeError, szError)
DbiGetErrorString(bFull, pErrInfo)
ASKER
when i run it from outside of Delphi.