[Lazarus] sqlite db as resource

José Mejuto joshyfun at gmail.com
Mon Jul 5 12:15:57 CEST 2010


Hello Lazarus-List,

Monday, July 5, 2010, 10:48:17 AM, you wrote:

AM> I would like to know if it is possible to access to a sqlite db file
AM> included in a lazarus application as resource.

Resources are read only. SQLite by default needs a real file to
access. You can configure recent SQLite modules to access non real
files providing an abstraction layer to access to virtual files which
in theory (I had never tested) will allow you to access a
TResourceStream in read only mode. I do not know if this access mode
is possible using SQLdb or you must manage the SQLite module directly.

-- 
Best regards,
 José





More information about the Lazarus mailing list