When I try to connect an encrypted 'SQLite' database with a wrong password, the application throws an 'esqliteerror' exception and diplays the message 'invalid encryption and/or encryptionalgorithm specified'.
I define the next source code for catch exception. If i try compile, appear the error 'Undeclared identifier: 'ESQLiteError''
Code: Select all
try
FrmBasDat.ConexionBDSqlite.Connect;
except
on E: ESQLiteError do
begin
lAccPos := False;
EscribirPalabraPaso.SetFocus;
MessageBox(Application.Handle,
pChar(CadenaLongitudFija('Error en la apertura de la b.d', 44)),
pChar('Abrir B.D.'), MB_OK);
end;
end;Thanks in advance