From: Yamaha / XYZZ Newsgroups: comp.os.msdos.djgpp Subject: Re: delay() problem Date: Mon, 16 Dec 1996 11:12:27 -0700 Organization: XYZZ Software Co. Lines: 28 Message-ID: <32B5910B.446B@CS.ColoState.edu> References: <58tvfh$l4o AT gate DOT sinica DOT edu DOT tw> NNTP-Posting-Host: seurat.vis.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Kuang-Chun Cheng wrote: > The delay() declared at dos.h does not work very well on the following > I must reboot the system to get the correct delay() rate for about 30 sec > and then it slow down again. Does anyone have similar behavior??? What's > wrong here??? Thanks a lot. I've had odd problems with delay, too. I have no idea why. The problem I've had is that sometimes delay freezes the computer completely. It doesn't matter if I call delay(1) or delay(10000000), because the function apparently locks up somehow. The only way I've been able to get out is either by using the reset button (if in DOS) or by making windows kill it. The problem goes away if I remove all object files and recompile the entire project. (and no, I'm not having any hard drive corruption problems) The hardware/software I've got (or had, until I upgraded) is: Win95 4.0.1111 (does the same thing in plain DOS, too). 486/66 (intel), 16MB RAM. -- Yamaha / XYZZ mailto:scriven AT CS DOT ColoState DOT edu mailto:scriven AT VIS DOT ColoState DOT edu http://www.vis.colostate.edu/~scriven/