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 [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
