Jim Morris wrote: > > at line 37428: > while( cnt-->0 && (res = winLockFile(&pFile->h, SQLITE_LOCKFILE_FLAGS, > PENDING_BYTE, 0, 1, 0))==0 ){ >
Are you using version 3.9.2 or some other version? > > cnt = 2 > locktype = 1 //SHARED_LOCK > lastErrno = 6 //ERROR_INVALID_HANDLE > Are you able to recompile SQLite with the OSTRACE enabled? This can be done one of two ways: 1. Using OSTRACE=1 as an argument when building with the "Makefile.msc" present in the SQLite source tree. 2. Using the defines -DSQLITE_FORCE_OS_TRACE=1 -DSQLITE_DEBUG_OS_TRACE=1 when compiling in other environments. -- Joe Mistachkin