Joe,

Yes to both questions (we are checking the result and it is returning
SQLITE_OK, and we are passing a UTF-16 string).

MB

-----Original Message-----
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Joe Mistachkin
Sent: Friday, 28 March 2014 11:54 AM
To: 'General Discussion of SQLite Database'
Subject: Re: [sqlite] SQLITE_ERROR (SQL logic error or missing database) on
WinRT/ WP8 when querying large (!) result setsusing 3.8.4.1


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

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

Reply via email to