Muharrem Bilgin wrote:
> 
> Tried using the suggested " int sqlite3_win32_set_directory(DWORD type,
> LPCWSTR zValue);" before opening any database connection.  sqlite still
> reports " sqlite3_temp_directory variable should be set for WinRT".
> 

Are you checking the return code from the sqlite3_win32_set_directory
function call?  Upon success, it should return SQLITE_OK.

> 
> We are trying to set the Windows RT's sandbox local directory of the
> application.
> 
>
"C:\\Users\\tester\\AppData\\Local\\Packages\\6c6495b1-9a34-45b5-8a37-ef048f
> f7a7fb_agzj39a4a6zwt\\LocalState"
> 

Sure, that's fine.  However, the string must be UTF-16.

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to