On WinRT, it's fairly unlikely that the processes current directory is writable. You'll need to explicitly specify one of the writable directories. Also, how are you compiling the SQLite library? I don't see any mention of setting the SQLITE_OS_WINRT macro that's necessary for SQLite to function on WinRT.