You Must Declare Database Handles
Go Up to Database Requirements
A database handle must be declared and initialized to zero before use. The following code illustrates how to declare and initialize a database handle:
#include <ibase.h> . . . /* Declare a database handle. */ isc_db_handle db1; . . . /* Initialize the handle. */ db1 = 0L;
For more information about declaring, initializing, and using database handles, see Working with Databases.