Chris Wilson wrote: > What exactly is the lock protecting against? Simultaneous writes to the > same file by RaidFileWrite? I think this is a red herring. We shouldn't need explicit locking under Win32 if we pass a 0 dwShareMode parameter to CreateFile(). -C