Mail Archives: djgpp/1997/05/04/07:23:17
On Thu, 1 May 1997, Daniel Johnson wrote:
> From DOS box within windows (3.11) it appears to hang the machine -
> Ctrl-Alt-Del reports that the application has stopped responding to
> the system. Occasionally, it hangs the entire machine - but this is
> uncommon.
>
> BUT IT'S NOT A WINDOWS PROBLEM !!!
>
> How do I know this ? The same code operates fine in all conditions
> when compiled with Borland Turbo C/C++...
This doesn't prove anything. Borland's library could well implement
`delay' using a different method. DJGPP uses Int 15h, function 86h.
I don't know whether Windows does something bad to that function, and
my references don't mention anything special about this service under
Windows, but I won't be surprised if Windows does screw it up (it has
been known to take over several time-related fuctions).
I would suggest testing your program on another machine with Windows
(just in case there's something wrong with the specific version of
BIOS on that single machine), and if the problem persists, post a
question to Windows-related forum, or look this up in one of the
Microsoft knowledge bases.
- Raw text -