Explicitly starts the Microsoft Jet database engine rather than letting the constructor for a CdbDBEngine object implicitly start the engine.
Syntax
VOIDStart(VOID);
Remarks
Before invoking this method, set the desired CdbDBEngine object properties to customize the operation of the Microsoft Jet database engine.
Usage
#include <afxole.h>
#include <dbdao.h>
...
// Your main program
CdbDBEngine   dben(FALSE,FALSE);   // Don't start yet.
YourInitialization( &dben );      // Call your DLL.
...
// Your DLL
void YourInitialization(CdbDBEngine *pdbEngine)
{
pdbEngine->SetDefaultUser(_T("YourUserName"));
pdbEngine->SetDefaultPassword(_T("YourPassword"));
pdbEngine->SetSystemDB(_T("c:\\YourDatabase.mdb"));
pdbEngine->Start();               // Now start Jet
}