How to use DISQLite without DISQLite3Api.pas

1k Views Asked by At

I need to use DISQLite for Delphi ( http://www.yunqa.de/delphi/doku.php/products/sqlite3/index ) for a project, but I can't seem to get it installed.
I followed the instructions but I can't compile the package because the file "DISQLite3Api.pas" which is used in the project doesn't exist.
There are .dcu files named the same and I copied them everywhere, set the enviroment library path but Delphi still asks for the .pas

1

There are 1 best solutions below

0
On

You missed some files when you downloaded the library. Go back and get the rest.

DISQLite3API.pas is what connects SQLite and the rest of the code; without it you have nothing to allow the database connection in the first place.

If you have the .dcu, and Delphi's still asking for the .pas file, it means the .dcu you have isn't compiled with the version of Delphi you're using. .dcu files are compiler-version specific; those created by one version of Delphi won't work in a different version.