OpenDatabase

OpenDatabase enables the connection to an already created database.
unsigned int OpenDatabase (
   const char16_t *databaseName
);

Parameters

databaseName'\0' terminating string that contains the path for the database control file.

Return Values

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

Remarks

Example Use
CODBPP database;
char16_t *message;
if((error = database.OpenDatabase(TEXT("YourDatabase"))) == NO_ERROR){
   ...
}
if(error && database.GetErrorMessage(&message) == NO_ERROR)
   MessageBox(message);
database.CloseDatabase();

Also See

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