[Lazarus] Sqlite usage

Joost van der Sluis joost at cnoc.nl
Fri Jan 16 12:45:53 CET 2009


Op vrijdag 16-01-2009 om 02:28 uur [tijdzone +1000], schreef SteveG:
> Is it possible to have the sqlite3.dll library (WinXP) dynamically 
> loaded  rather than static linked into my Laz program ?
> The sqlite dll is not in the Windows path (by choice), and I would like 
> to be able to point my prog to it at run time.
> 
> At the moment, I just have the sqlitedb unit in the 'uses' of my app.

Replace sqlitedb with sqlite3dyn (obviously for sqlite 3) and load the
library using 'InitialiseSQLite(libraryname);'. Unload it with
'ReleaseSQLite'

Joost.




More information about the Lazarus mailing list