I have a problem with sqlite3_open_v2 function. OS - Windows developing in Qt Creator.
sqlite3_open("database.db", &db); // works fine
but
sqlite3_open_v2("database.db", &db, SQLITE_OPEN_READWRITE, ""); // don't work
I am sure that this is not a utf-8 codding problem, because the first function works fine, and I tried to change the encoding in the project properties. Perhaps the problem is with the file path in the first argument. Absolute paths didn't work either.
Has anyone had any idea and used this feature?
source share