Windows blue screen
Posted: Sun 04 Feb 2018 18:56
Hi, I'm using Unidac version 6.3.12 for Builder c++ 6.0 on Windows 10
With Unidac I connect my software to SQLite.
This is a piece of my code
DMod->ConnectionGare->ConnectString = "Provider Name=SQLite;Database=" + fileNameGara + ";Use Unicode=True;Login Prompt=False";
DMod->ConnectionGare->SpecificOptions->Clear();
DMod->ConnectionGare->SpecificOptions->Add("BusyTimeout=500000");
DMod->ConnectionGare->SpecificOptions->Add("ReadUncommitted=True");
DMod->ConnectionGare->SpecificOptions->Add("Direct=True");
DMod->ConnectionGare->SpecificOptions->Add("UseUnicode=True");
DMod->ConnectionGare->SpecificOptions->Add("EnableSharedCache=True");
TUniSQL *cmd = CreateNewCommand(DMod->ConnectionGare);
cmd->SQL->Text = "PRAGMA foreign_keys = ON;";
cmd->Execute();
cmd->SQL->Text = "PRAGMA journal_mode = WAL;";
cmd->Execute();
cmd->SQL->Text = "PRAGMA synchronous = NORMAL;";
cmd->Execute();
If I do some operations I have windows blue screen.
Could unidac cause windows blue screen in a strange case?
In the past I used TADO connection with access database and I never had windows blue screen
With Unidac I connect my software to SQLite.
This is a piece of my code
DMod->ConnectionGare->ConnectString = "Provider Name=SQLite;Database=" + fileNameGara + ";Use Unicode=True;Login Prompt=False";
DMod->ConnectionGare->SpecificOptions->Clear();
DMod->ConnectionGare->SpecificOptions->Add("BusyTimeout=500000");
DMod->ConnectionGare->SpecificOptions->Add("ReadUncommitted=True");
DMod->ConnectionGare->SpecificOptions->Add("Direct=True");
DMod->ConnectionGare->SpecificOptions->Add("UseUnicode=True");
DMod->ConnectionGare->SpecificOptions->Add("EnableSharedCache=True");
TUniSQL *cmd = CreateNewCommand(DMod->ConnectionGare);
cmd->SQL->Text = "PRAGMA foreign_keys = ON;";
cmd->Execute();
cmd->SQL->Text = "PRAGMA journal_mode = WAL;";
cmd->Execute();
cmd->SQL->Text = "PRAGMA synchronous = NORMAL;";
cmd->Execute();
If I do some operations I have windows blue screen.
Could unidac cause windows blue screen in a strange case?
In the past I used TADO connection with access database and I never had windows blue screen