VisualIB
1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
|
VisualIB - InterBase wrapper for use in Visual Studio. More...
#include "vibdefines.h"
Go to the source code of this file.
Functions | |
VIBDLLFUNC void VIBCALL | VIBError_GetLastError (const char **message, int *iberror, int *sqlcode) |
We can't throw exceptions directly out of the library, as I want it to be as widely usable as possible. | |
VisualIB - InterBase wrapper for use in Visual Studio.
Error Handling and Propagation
VIBDLLFUNC void VIBCALL VIBError_GetLastError | ( | const char ** | message, |
int * | iberror, | ||
int * | sqlcode | ||
) |
We can't throw exceptions directly out of the library, as I want it to be as widely usable as possible.
Instead, routines that intercept an EIBError or EIBInterBaseError will report it to this module, which can be queried externally when a routine gives an unexpected return value.
[inout] | message Receives the last error message, if any; "" if not. |
[inout] | iberror Receives the last IBErrorCode |
[inout] | sqlcode Receives the last SQLCode |