#include "BIDB.h"
int CALLBACK GetLastDBError ()
Description
This function retrieves the last error code occured.
Available error codes:
DB_NOERROR No error occurs.
DB_OPENED Database is already opened.
DB_OPENERROR Error occurred during opening database.
DB_MEMORY Memory exception.
DB_INVALIDPARAMETER Invalid parameter.
DB_NOTOPEN Database is not opened.
DB_LOADERROR Error loading image from database.
DB_EOF End of record set.
DB_BOF Before the firs record.
DB_INVALIDFIELDTYPE Invalid type of the field in the recordset.
DB_INVALIDFILESIZE The size of the file to save is invalid.
Parameters
Return values
Returns the last error code occured.
Requirements
Header : Declared in BiDb.h; include BiDb.h.
Library : Use BiDb.lib.
DLLs : BiDb.dll.