All is well now! The second path as mentioned before is correct and expected because the program and the database are in the same directory. To be able to get it to work, I have to use: "sqlite3_open_v2(path, &db, SQLITE_OPEN_READWRITE, NULL)", to open the database. Thanks all. Up to the next hurdle on this rather bumpy road.