OpenDatabase
OpenDatabase enables the connection to an already created database.unsigned int OpenDatabase ( const char16_t *databaseName );
Parameters
| databaseName | NULL 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();

