Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15543

How to compile a static library SQLITE3.a,sQlite3.lib

$
0
0
It is best to add a function to load from the memory address to the memory database.
Originally a function is: load files to the memory database. The file itself will not be modified, which is equivalent to read-only, only the tables in the memory database are modified. It may also be necessary to save the settings in a hard disk file.

Code:

sqlitehandle = sqlite3_open(":memory:", pdb)

sqlite3_open(sPath & "data.sqlite", pdb)

dim buffer() as byte
buffer= read byte from :sPath & "data.sqlite"

sqlite3_openMemory(varptr(buffer(0)), pdb)


Viewing all articles
Browse latest Browse all 15543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>