Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
- Posts: 9
- Joined: Thu 20 Jan 2011 16:33
I am translating an application from bde to dbxpress. I have to catch a specific exception, in BDE it was:
Code: Select all
E : EDBEngineError;
if E.Errors[I].NativeError = 20111 then
I guess if there is some component similar to EDBEngineError in dbExpress. I am searching for a workaround with no success. I am using Delphi7, Oracle 11g, Windows Vista and dbexpoda.dll. Thankyou.
- Devart Team
- Posts: 5530
- Joined: Tue 10 Aug 2010 11:35
You can use the EDatabaseError class in Delphi 7, but you will not be able to get the error code, because dbExpress does not support this feature before Delphi 2007. Starting from Delphi 2007, the TDBXError class from the DBXCommon module is used for these purposes.