Hi,

I have downloaded the SQLITE amalgamation folder along with the entire
source code.

Followed the steps mentioned here
http://www.sqlite.org/src/doc/trunk/ext/userauth/user-auth.txt

Using the following command to build the sqlite3.exe:-

cl -D_SQLITE_USER_AUTHENTICATION shell.c sqlite3.c userauth.c -Fesqlite3.exe

But i can still open the database with sqlite3_open_v2. No authentication
is required.

Another problem is that I am trying to add a user to the sqlite_user table.
I have appended userauth.c to the sqlite3.c amalgamation and have provided
sqlite3userauth.h to the C++ program.
I am able to access sqlite_user_add method but it gives error lnk1181:
cannot find sqlite3.lib

I am using VS2012, x64, Release Mode.

Regards,
Siddharth

Reply via email to