Hello, yes that's it; and with or without ODBC.
I have tried using the raw sqlite.c (and .h) code but got these errors:
POLINK: error: Unresolved external symbol '__endthreadex' - referenced from 'C:\SQLite\sqlite-amalgamation-3400100\output\sqlite3.obj'.
POLINK: error: Unresolved external symbol '__beginthreadex' - referenced from 'C:\SQLite\sqlite-amalgamation-3400100\output\sqlite3.obj'.
(I run windows 10, 64)
I then installed odbc for sqlite... and
http://www.intelmenu.com/notes/c/c_odbc.htmlcopy pasted that code (a new project): got other errors,
POLINK: error: Unresolved external symbol '_SQLAllocHandle@12' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLSetEnvAttr@16' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLSetConnectAttr@16' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLConnect@28' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLDisconnect@4' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLFreeHandle@8' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLExecDirect@12' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLFetch@4' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLGetData@24' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.