DbiExit

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiExit

Return to chapter overview

C syntax

DBIResult DBIFN DbiExit (VOID);

Delphi syntax

function DbiExit: DBIResult stdcall;

Description

DbiExit disconnects the client application from BDE.

Usage

DbiExit uninitializes BDE for use by this client and releases all resources allocated by the client application. DbiExit should be the last DBI/BDE call made by the client application.

Completion state

All databases and cursors are closed, and any temporary tables are removed. If the exit is done while in a SQL transaction, the active transaction is usually rolled back. (Some SQL drivers commit.) Since the connection to BDE has been removed, the user must reinitialize BDE before any BDE functions can be called.

DbiResult

Meaning

DBIERR_NONE

The connection to BDE has been successfully removed.

See also

DbiInit, DbiDllExit