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

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed May 9 17:08:44 CEST 2001

On Wed, 9 May 2001, Rich Pasco wrote:

> "Lee, John" wrote:
> > 100% right Thomas, I know about sleep etc for win32, but want simliar fpc
> > dos routine that'll work for w9x, NT & w2000.
> I routinely use programs compiled for w32 under Windows 98, NT 4.0,
> and Windows 2000 with no trouble whatsoever.
> > For reasons  won't go into
> > here (but related to file opening difficulties for locked files in fpc
> > win32) I can't use a win32 fpc program!
> Perhaps this is the problem area you should be addressing, rather than
> trying to find a sleep/delay procedure for GO32V2.

I also think this should be addressed then, instead of some ad-hoc patch.
If you can explain (preferably with some example code) the probles you're
having with locked files, maybe we can try to solve them.


More information about the fpc-pascal mailing list