CloseDatabase

CloseDatabase closes an open database. This method does not need to be called unless you wish to release the database without calling the destructor.
unsigned int CloseDatabase (
);

Parameters

void

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

  • This will be triggered by the destructor and does not need to be called explicitly.
Example Use
CODBPP database;
char16_t *message;
if(database.OpenDatabase(TEXT("YourDatabase")) == NO_ERROR){
	...
}
if(error && database.GetErrorMessage(&message) == NO_ERROR)
   MessageBox(message);
database.CloseDatabase();

Also See

CreateDatabase, OpenDatabase
Comments (0)Listen All
Characters left: 2500
 
Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript