> I'm starting to get the impression that the only way for me to do this > is to make my own vfs layer... > http://stackoverflow.com/questions/3839158/using-sqlite-with-stdiostream
Yes, this is the best way you can do it. Other option is to take that data, save it to some temporary file and then open that file as a database. > Would sqlite's test_onefile.c example code be the most appropriate > starting point? http://www.sqlite.org/src/doc/trunk/src/test_onefile.c I didn't look into implementation details there but generally it looks like a good starting point. Pavel On Tue, Jul 19, 2011 at 12:17 AM, Glenn McCord <glenn.mcc...@gmail.com> wrote: > Hi. I've been trying to find out the best way of loading an sqlite > database from memory. Basically I'd like to be able to save a small > sqlite database as meta data to an audio file, i.e. an mpeg4 > container. I'd then be able read, modify then write it back to the > file. > > I'm starting to get the impression that the only way for me to do this > is to make my own vfs layer... > http://stackoverflow.com/questions/3839158/using-sqlite-with-stdiostream > > Would sqlite's test_onefile.c example code be the most appropriate > starting point? http://www.sqlite.org/src/doc/trunk/src/test_onefile.c > > If someone could offer ways of achieving this, or could at least > clarify that a vfs is the only way to go, then I'd appreciate the > feedback. > > Thanks. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users