delorie.com/archives/browse.cgi | search |
Newsgroups: | comp.os.msdos.djgpp |
From: | Daniel Johnson <u5dj AT csc DOT liv DOT ac DOT uk> |
Subject: | Bug using Delay()... |
Sender: | news AT csc DOT liv DOT ac DOT uk (News Eater) |
Message-ID: | <335C96C2.369F@csc.liv.ac.uk> |
Date: | Tue, 22 Apr 1997 10:45:22 GMT |
Lines: | 20 |
Mime-Version: | 1.0 |
Organization: | The University of Liverpool |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I recently came across an unusual bug, when running the following program under Windows 3.1 : #include <stdio.h> #include <stdlib.h> int main(void) { delay(2500); exit(0); } It works fine when run under dos, but hangs the machine when run in a Windows dos box. Is this something to do with the DPMI services provided by Windows ? Am I just being stupid ? Is the answer in the FAQs ? Are chips really blue ? Danny...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |