www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/04/07:23:17

Date: Sun, 4 May 1997 14:04:29 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Daniel Johnson <u5dj AT csc DOT liv DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Why oh why (again)...
In-Reply-To: <33686B1A.2DCA@csc.liv.ac.uk>
Message-ID: <Pine.SUN.3.91.970504140406.9215X-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019