I am trying to access encrypted db via c++ program .
I replaced my SQLite folder with examples binaries folder . Also modified paths in linker and additional directories to make it as similar to Native Static example .
I am facing sqlite3_key “identifier not found” error . Examples folder example works very well with my Encrypted DB .
Your build is not defining the macro SQLITE_HAS_CODEC at compile time, so sqlite3_key() is not being exposed.
SQLCipher’s special sqlite3.h file is not in the INCLUDE path, so you are use a version of the header that doesn’t include the definition for sqlite3_key()