Jan Doggen
2008-04-11 18:31:03 UTC
Hello,
Has anyone gotten the SQLite dbExpress driver from www.bcp-software.nl
gotten to work in D2007 Win32?
This is what I did:
1) I added to dbxdrivers.ini:
[Installed Drivers]
SQLite=1
[SQLite]
LibraryName=DbxSQLite3.dll
GetDriverFunc=getSQLDriverSQLite3
VendorLib=sqlite3.dll
RoleName=Cache=2000|TextLength=1024
2) I added to dbxconnections.ini:
[SQLiteConnection]
DriverName=SQLite
Database=Test.db
(just a guess; I have no idea what else to add. What about all these
DriverUnit...DriverAssembly entries I see with other databases?)
3) I placed DbxSQLite3.dll in c:\Program Files\Codegear\RAD Studio\5.0\bin
(note that the install.txt talks about sqlite.dll and getSQLDriverSQLite,
but I got an error "Missing driverfunc: getSQLDriverSQLite" and peeked with
an editor in DbxSQLite3.dll to discover that it was getSQLDriverSQLite3).
4) sqlite3.dll is in Windows\System32 and registered.
5) I drop a TSQLConnection on the form, set LoginPrompt to false, if I try
to set active to true I get an access violation
Any ideas?
Thanks in advance
Jan Doggen
========================================================================================
http://www.jandoggen.org http://www.beautyofpeople.com
http://www.puddingclub.nl
Has anyone gotten the SQLite dbExpress driver from www.bcp-software.nl
gotten to work in D2007 Win32?
This is what I did:
1) I added to dbxdrivers.ini:
[Installed Drivers]
SQLite=1
[SQLite]
LibraryName=DbxSQLite3.dll
GetDriverFunc=getSQLDriverSQLite3
VendorLib=sqlite3.dll
RoleName=Cache=2000|TextLength=1024
2) I added to dbxconnections.ini:
[SQLiteConnection]
DriverName=SQLite
Database=Test.db
(just a guess; I have no idea what else to add. What about all these
DriverUnit...DriverAssembly entries I see with other databases?)
3) I placed DbxSQLite3.dll in c:\Program Files\Codegear\RAD Studio\5.0\bin
(note that the install.txt talks about sqlite.dll and getSQLDriverSQLite,
but I got an error "Missing driverfunc: getSQLDriverSQLite" and peeked with
an editor in DbxSQLite3.dll to discover that it was getSQLDriverSQLite3).
4) sqlite3.dll is in Windows\System32 and registered.
5) I drop a TSQLConnection on the form, set LoginPrompt to false, if I try
to set active to true I get an access violation
Any ideas?
Thanks in advance
Jan Doggen
========================================================================================
http://www.jandoggen.org http://www.beautyofpeople.com
http://www.puddingclub.nl