OpenDatabase
OpenDatabase opens 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(_T"YourDatabase")) == NO_ERROR){
...
}
if(error && database.GetErrorMessage(&message) == NO_ERROR)
MessageBox(message);
database.CloseDatabase();
Also See
CloseDatabase, CreateDatabase
Copyright © 2003-2008, Ekky Software Pty. Ltd.