incbin database

BlitzMax Forums/Brucey's Modules/incbin database

allos(Posted 2012) [#1]
I am working on a software using two sqlite databases; Brucey's modules work like a breeze, but for security reasons I would like to embed one of the databases in the executable, because I don't need to edit it during execution (it is a "static" database with a lot of codes, no need to modify them during execution).
Well, when I try to use database with incbin I always get errors.
Any hint?
thank you


Htbaa(Posted 2012) [#2]
Use an in memory database instead. On startup execute your SQL script to create tables and populate the database with data. These SQL files can be incbinned instead.