Re: [Lazarus] Sqlite usage

2009-01-16 Thread SteveG
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@lazarus.freepascal.org
 http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

   

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Sqlite usage

2009-01-15 Thread 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.

Thanks
SteveG
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Sqlite usage

2009-01-15 Thread Michael Van Canneyt


On Fri, 16 Jan 2009, SteveG wrote:

 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.

The SQLDB sqlite connection loads the library dynamically.

Michael.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus