I am experimenting with encryption on a SQLite database. Using Blowfish works as expected but when I try to set AES-256 an error occurs on closing the application.
Project MyProject.exe raised exception class EInvalidOperation with message 'Cannot call BeginInvoke on a control with no parent or window handle'.
Code: Select all
Connection->ProviderName = "SQLite";
Connection->SpecificOptions->Values["ConnectMode"] = "cmReadWrite";
Connection->SpecificOptions->Values["UseUnicode"] = "True";
Connection->SpecificOptions->Values["Direct"] = "True";
Connection->SpecificOptions->Values["EncryptionAlgorithm"] = "leAES256";
Connection->SpecificOptions->Values["EncryptionKey"] = "11111";
Cheers!