This morning I tried creating a new blank package on c++ builder and then added
#include “sqlite3ext.h”
Same error message : E245 Undefined symbol ‘sqlite3_api’.
Is there some define I should have set?
Full code
//---------------------------------------------------------------------------
#include "sqlite3ext.h"
#include <System.hpp>
#pragma hdrstop
#pragma package(smart_init)
//---------------------------------------------------------------------------
// Package source.
//---------------------------------------------------------------------------
#pragma argsused
extern "C" int _libmain(unsigned long reason)
{
sqlite3 *DB;
sqlite3_stmt *s;
sqlite3_open("c:/SQLiteData/Meta.db",&DB); // error line
sqlite3_close(DB);
return 1;
}
//---------------------------------------------------------------------------
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users