In case you are looking for sqlite3.lib , you can create it via the next command .
create lib file from def file
lib /def:sqlite3.def /OUT:sqlite3.lib
more details could be found in this post create-lib-file-from-dll.
check out the wrapper class i found , very easy to use and to implement CppSQLite - C++ Wrapper for SQLite.
Check out example1 in this article Loading and Saving In-Memory Databases we loading and saving the contents of an in-memory database to a file on disk , very common in the real world.
i extend the cppSQLite , to enable to read DB from disk into memory
void CppSQLite3DB::open(const char* szFile,BOOL inMem)
{
if(inMem)
{
open(":memory:");
loadOrSaveDb(mpDB,szFile,false);
}
else
open(szFile);
}
Yaniv Tzanany
No comments:
Post a Comment