I installed ZeosDBO 7.2.1 (RC) in Delphi, created a project using SQLite 3 database, launched it, everything worked ... And then I remembered that I hadn’t yet put sqlite3.dll in the project folder, and the application is working, the database is connected, reads / writes ... I looked through the system folders, there is no such dll either. As I understand it, it turns out that sqlite3.dll is not needed, i.e. ZeosLib has its own (built-in) driver for SQLite? Or, maybe, I just have it through some other driver is connected (does other bases have interbase compatibility, for example)?

    1 answer 1

    Needed This library can lie and be picked up not only from the system directories, but also from any directory registered in the PATH . Most likely, you have installed some program that is registered in the PATH and which contains sqlite3.dll in its directory.

    To find out which libraries your application depends on and where they lie, there are special utilities. For example, Dependency Walker .


    If you need static linking with SQLite3, then I can advise mORMot framework. There, together with the samples, are the precompiled versions of SQLite3 sqlite3.obj and sqlite3fts3.obj , which can be connected statically by including a unit in the project: SynSQLite3Static.pas . If the unit is not connected, then there will be a dynamic link with dll .

    • Thanks, I checked the paths from% PATH% - so it turned out, sqlite3.dll is in the bin folder of Delphi itself. - t3f