Re: [sqlite] SQLite in WinCE Emulator - Disk I/O Error and change of pragma don´t work

2010-12-08 Thread Shane Harrelson
According to the MSDN support sites, there are a couple of known issues with the Windows Mobile Emulator, when using emulated storage cards. With an emulated storage card, SetEndOfFile() (which we use for truncating a file) and FlushFileBuffers() (which we use for syncing) will fail. They do not

[sqlite] SQLite in WinCE Emulator - Disk I/O Error and change of pragma don´t work

2010-12-07 Thread Horacio Rabelo Pereira
Hi, all I'm using SQLite version 3.7.2 ported to Windows CE, in a application developed using Lazarus I got the compiled SQLITE3.DLL for Windows CE in the site www.parmaja.com For now, I am using one emulator to run the native Windows CE application in a desktop computer running Windows

Re: [sqlite] SQLite in WinCE Emulator - Disk I/O Error and change of pragma don??t work

2010-12-07 Thread Jay A. Kreibich
On Tue, Dec 07, 2010 at 06:08:28PM -0200, Horacio Rabelo Pereira scratched on the wall: Searching in the Web, I found a note describing a workaround, that consist in change the pragma ???jornal_mode??? to value ???truncate???. For my surprise, all my tries to change the value of pragma