Page 1 of 1

How update PB 5.45 to latest SQLite version

Posted: Mon Apr 25, 2022 10:10 pm
by swhite
Hi

I have a project that needs to run in ASCII mode so I am using PB 5.45 64 bit but I need to use the latest SQLite version. What files need to be updated to make this possible since the UseSQLiteDatabase() does not support the optional library argument?

Thanks,
Simon

Re: How update PB 5.45 to latest SQLite version

Posted: Tue Apr 26, 2022 8:26 am
by infratec
You can try to copy the sqlite3.lib file from PB 6

Folder is

PureBasic/PureLibraries/Windows/Libraries/

Re: How update PB 5.45 to latest SQLite version

Posted: Thu Apr 28, 2022 2:21 pm
by swhite
Yes I did that but the version is newer but not new enough to include the feature I want to use from SQLite hence my request to update the SQLite library to the latest version of SQLite.

Simon

Re: How update PB 5.45 to latest SQLite version

Posted: Sat Apr 30, 2022 5:50 pm
by plouf
Maybe best way is to use sqlite3.dll and make direct calls to the lib

Re: How update PB 5.45 to latest SQLite version

Posted: Tue May 03, 2022 4:44 pm
by swhite
Hi

In the past I have not had much luck trying to use Linux .so files directly so I have not tried this method. Any instructions about how this can be accomplished would be appreciated.

Simon