我对 sqlite3_open_v2 函数有问题。 OS 是 Windows, 在 Qt 创造者中开发 。
sqlite3_open ("database.db", & amp;db); // 工作精细
但是
sqlite3_open_v2(“数据库.db”,&;db,SQLITE_open_READWRITE,“”);//不工作
I m quite sure it s not utf-8 codding problem, cause first function works fine and i tried to change codding in project properties. Maybe problem is with filepath in first arg. Absolute paths didn t work too.
有人有使用此功能的想法和示例吗?