CDatabaseConnection::StartEngine
The StartEngine method starts the Jet database engine. C syntax is shown.
BOOL StartEngine(
const CString &csViewer,
const CString &csPassword,
const CString &systemFile
);
Parameters
- csViewer
- Reference to an MFC CString object that contains the name of the current user. Loader applications should use "Loader" as the csViewer parameter value. Logging on as "Loader" ensures that a loader has permissions to add or delete values from the Guide database.
- csPassword
- Reference to an MFC CString object that contains the password of the user specified in csViewer.
- systemFile
- Reference to an MFC CString object that contains the full path and file name of the workgroup information file.
Return Values
Returns TRUE if the Jet engine was successfully started, and FALSE otherwise.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in dbsets.h.
Import Library: Use dbsets.lib or dbsetsst.lib.
See Also
SetJet