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
Asked
Active
Viewed 1,000 times
1
-
Are you sure the DCU you have is for the Delphi version youre using? Because DCUs are compiler version specific. – ain Dec 22 '11 at 11:23
-
Which version of Delphi are you using? – Johan Dec 22 '11 at 11:30
-
I am using Delphi 2010 lite and used the .dcu files from the D2010 folder. – Frotty Dec 22 '11 at 15:07
-
Double check your Search Path contains the full path to theDISqlite D201o folder – Gad D Lord Jan 03 '12 at 14:33
1 Answers
2
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.
Ken White
- 123,280
- 14
- 225
- 444