[fpc-pascal]dos approx delay fn that releases cpu

Jonas jonas at zeus.rug.ac.be
Wed May 9 18:39:55 CEST 2001


On woensdag, mei 9, 2001, at 05:56 , Michael Van Canneyt wrote:

>> The problem is that Windows keeps a lock on a file for a few seconds
>> after a (Win32) program has released it, that's all. It's an OS
>> bug/feature, I don't think you can work around it in your program
>> (except for always trying during 2 seconds or so to open a file before
>> giving up, but that's not very nice)
>
> ? But don't dos programs have the same problem then when running under 
> windows?

Apparently not (I assume that otherwise John wouldn't be asking this :)


Jonas




More information about the fpc-pascal mailing list