Help: using msvcrt for file locking

Tim Peters tim.one at home.com
Tue Aug 28 00:04:26 CEST 2001


[Alex Martelli]
> The source code for MSVCRT.DLL comes with every installation
> of VC++6 (perhaps not with the cheap one for beginners, but
> surely Professional and up).  You don't get to see the sources
> for the underlying operating systems (quite likely very
> different ones for the 95/98/ME lineage vs the NT/2000/XP
> one, of course:-), but the C runtime's sources often help.

Not much in this case -- _locking gets mapped into LockFile, but restricted
to 32-bit offsets and lengths.  Since we don't have the source for LockFile,
no progress.





More information about the Python-list mailing list