Knowledge Base

FireDac SQLite in Delphi 10.4

By default, Delphi 10.4 will require you to supply a sqlite3.dll along with your executable to be able to connect to an SQLite database using FireDAC. This is fine if you’re used to supplying extra files in an installer, but can be quite annoying for existing projects that never needed this when it was compiled with Delphi 10.3

To make the compiler link the SQLite code directly into your executable, you can use the unit FireDAC.Phys.SQLiteWrapper.Stat . This way the executable won’t require the sqlite3.dll to run.

For more information go here https://docwiki.embarcadero.com/RADStudio/Sydney/en/Connect_to_SQLite_database_(FireDAC)


Become a GDK Delphi hero! Subcribe here to our Delphi mailing list!

Written by Patrick Quist
Delphi developer

Contact

Let us help you to realise your ambitions

GDK Software UK

(+44) 20 3355 4470

GDK Software USA

+1 (575) 733-5744