Forum > Databases
Using SQlite in Lazarus
hulky:
I am trying to use an sqlite database in my lazarus program using the sqlitedb unit (as included with lazarus). When I compile it straight (as fpc-programm) this works fine but as soon as I try to compile it as a lazarus windows programm I get the following error:
sqlitedb.pas(341,55) Error: Incompatible type for arg no. 3: ....... etc.
Can anybody tell me how to solve this?
Regards,
Wim
Anonymous:
I got the same thing with the lastest version 0.9.8 beta !
Someone can say how to solve that ?
Thankx
E.Jourde
Marc:
what is on line: sqlitedb.pas(341,55) ?
Anonymous:
ok i don't uses the TSQliteDataset compoment, but the test.pp program (wich use sqlite and sqlitedb)
there is this :
fError := SQLite_Exec(fSQLite, Psql, @ExecCallback, Self, @fPMsg);
who don't want compile with incompatible type of arg no. 3
Tanks
Marc:
OK, what does SQLite_Exec expect for type of parameter 3
and what is the declaration of ExecCallback
Navigation
[0] Message Index
[#] Next page