err = ::JetInit(0); if(JET_errSuccess != err) return err; JET_SESID sessionID = JET_sesidNil; err = ::JetBeginSessionA(0, &sessionID, 0, 0); if(JET_errSuccess != err) { ::JetTerm(0); return err; } err = JetAttachDatabase( sessionID, "1.edb", 0 ); // error -1213 "The database page size does not match the engine"
JET_INSTANCE instance; JetCreateInstance(&instance, "instance")); JetSetSystemParameter (&instance, JET_sesidNil, JET_paramRecovery, NULL, (JET_PCWSTR)"Off”);
err = ::JetInit(0);
err = ::JetInit(&instance);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)