[Lazarus] Sqlite usage

SteveG steveg at nevets.com.au
Fri Jan 16 16:47:15 CET 2009


Thanks Joost - seems just what I need

Joost van der Sluis wrote:
> 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.
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>   




More information about the Lazarus mailing list