Hi list.

I'm currently making modifications to a project, and want to add SQLite3 to
it.

I'm using VS6, have the sqlite3.h and sqlite3.c in the same directory, and
this is the code:

#include "sqlite3.h"

....

bool TestSQLite()
{
    sqlite3 *db;
    int rc;
    rc = sqlite3_open("test.sqlite",&db);
    return true;
}

but when I build, get the following error
--------------------Configuration: mfc01 - Win32 Release--------------------
Compiling...
mfc01Dlg.cpp
Linking...
mfc01Dlg.obj : error LNK2001: unresolved external symbol _sqlite3_open


However, if I just compile, everything goes ok.

Any help?
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to