Setting Up an Error Status Vector

From InterBase

Go Up to Handling Error Conditions

Most API functions return status information that indicates success or failure. The information returned is derived from the second array element of the error status vector, where InterBase reports error conditions. The error status vector is declared in applications as an array of 20 long integers, using the following syntax:

#include <ibase.h>
. . .
ISC_STATUS status_vector[20];

ISC_STATUS is a #define in ibase.h provided for programing convenience and platform independence.

Advance To: