Don't know if this helps:
http://support.microsoft.com/kb/Q296264
Looks like you need to turn optimistic locking off. Same is true with MS
Access if the file is located on a share.
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q300216&;
--
View this message in context:
http://www.na
>// Try and lock the file for writing
>ULARGE_INTEGER bytesToLock.QuadPart = 2147483648; // 2^31 if
(LockFile(h, 0, 0, bytesToLock.LowPart,
>bytesToLock.HighPart) == 0) { ...
>}
Sorry, finger trouble :)
Should read:
// Try and lock the file for writing
ULARGE_INTEGER bytesToLock.QuadPart = 2147
Hi,
This is more of a heads up than anything else. I'm developing an app
that writes to files using the Windows API. I actually used some code
from the SQLite file library hence this message.
The code snippet is:
// Try to open existing file
h = CreateFileA(path,
GENERIC_WRITE,
0,
NULL,
CREATE_
3 matches
Mail list logo