SQLite ODBC Driver

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Manolo.

Hi all,

If you prefer ODBC for SQLite:
http://www.ch-werner.de/sqliteodbc/html/index.html

:)

Manolo
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Blair.

Guys, can you give a newbee a little help in geeting this example working. I have downloaded sqlite.dll but a get an error message when I try to register it. Does it need to be regsitered if so is it done in the noraml way using regsver32 and placing it into windows/systemdirectory. Could you please maybe post the complete program with dll somewhere? Maybe just a simple step by step will work.

Thanks.

Blair
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by webba.

Blair,

The SQLite.dll is a 'normal' dll file. Normal (not a COM or ACTIVEX object) dll's don't need registering with regsver32. Why do you want to use SQLite with an ODBC driver? Have a look at the SQLite wrapper functions on this forum. You can use these to access your DB directly from PB. Just put the DLL file in PureBasic's Compilers folder. Get yourself a test.DB file and try the wrappers.

Hope this helps.

Regards.
Post Reply