Message-ID: <38A8B28E.5ACC7422@brandonsd.mb.ca> From: N J Chackowsky X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: System hangs when I exit my program References: <888om7$o0t$1 AT cubacola DOT tninet DOT se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 Date: Tue, 15 Feb 2000 01:49:33 GMT NNTP-Posting-Host: 142.13.16.203 X-Trace: typhoon.mbnet.mb.ca 950579373 142.13.16.203 (Mon, 14 Feb 2000 19:49:33 CST) NNTP-Posting-Date: Mon, 14 Feb 2000 19:49:33 CST Organization: MBnet Networking Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I had all kinds of trouble with the computer crashing when using DJGPP programs and I learned this: that it wasn't DJGPP per se that was causing the trouble. My computers (several labs worth) would crash whenever *any* process switched the video mode TO or FROM a DOS mode screen to a Windows mode screen. The solution (after the usual hair loss) was to bring up the desktop properties, settings, advanced properties, performance, and turn hardware acceleration OFF. Since then, no crashes. Interestingly, this was completely unnecessary on my older computers with simpler video adapters, say Trident 9660; only the new ones like QDI Vision. Nick. Marcus wrote: > > Hi! > I have a big problem. My program can't shutdown correct and hangs on > shutdown. Sometimes the system hangs too. I use VESA 2, a mouse hook and a > keyboard hook. I think the hooks are the problem since I don't know how to > quit the mouse hook I do with INT 33 - Ch. But I don't actually know what > the problem is. Could you help me?? Tell me if I have to show the code. I'm > a newbie at low level programming but I have to use it. > > Thank you... > > -- > /regards Marcus