Subject | Re: [firebird-support] Customizing IB errors from Delphi |
---|---|
Author | Helen Borrie |
Post date | 2004-11-22T01:51:47Z |
At 09:59 PM 21/11/2004 -0300, you wrote:
the error status vector. The c header file ibase.h in Firebird's \include
directory has the interface declarations and iberror.h has the C symbols
and codes.
respectively, the source units IBErrorCodes.pas and IBHeader.pas should be
a starting point. You'd be wise to compare the symbols in
IBErrorCodes.pas with iberror.h in your Firebird \include directory. If
you want a full list of codes and symbols, together with text messages, for
Firebird 1.5, you can download one from the Contributed Code section at
www.ibobjects.com.
The IBX sources themselves should reveal more about how IBX surfaces the
error status vector as Delphi exceptions. All else, as they say, is
Delphi. You might try posting some suitably covert questions on Borland's
interbasespress newsgroup...
./hb
>Hello everyone, I'm in my first steps in FB (v 1.5.1), and using it in anIB6 ApiGuide.pdf will tell you what you want to know about the structure of
>application I'm developing under Delphi 7 Enterprise and using IBX
>controls to manage the data. (No problems found with the IBX until now -
>crossing fingers). I wish to customize the server errors to make them more
>friendly for the final user, in order to that I check the properties
>SQLError and IBErroCode of the EIBInterbaseError EIBError classes. However
>I didn't find so much information about the StatusVectorArray vector's
>element and what they exactly mean
the error status vector. The c header file ibase.h in Firebird's \include
directory has the interface declarations and iberror.h has the C symbols
and codes.
>, nor in the Delphi's help or FB documentation. (I found out certain codeAs the **InterBase !!** conversions for iberror.h and ibase.h,
>numbers just rasing by myself the errors)
>
>I'd like to know from where I can get some information about this issue
>(links).
>Thanks, xyz80
respectively, the source units IBErrorCodes.pas and IBHeader.pas should be
a starting point. You'd be wise to compare the symbols in
IBErrorCodes.pas with iberror.h in your Firebird \include directory. If
you want a full list of codes and symbols, together with text messages, for
Firebird 1.5, you can download one from the Contributed Code section at
www.ibobjects.com.
The IBX sources themselves should reveal more about how IBX surfaces the
error status vector as Delphi exceptions. All else, as they say, is
Delphi. You might try posting some suitably covert questions on Borland's
interbasespress newsgroup...
./hb