Hello,
looking into the PENDING_BYTE 0x40000000 define from os.h, I believe there is a problem when the database is larger than 1GB and a second process reads at offset 1GB, the read may aborts with SQLITE_IOERR if a lock is active.
A "(u64)-10" PENDING_BYTE define and adjusting the low/high dword for LockFileEx should fix this. It is clear to me that all clients need to update the libsqlite to allow concurrent access with the new locking offset.
Is this right?
Helmut Tschemernjak