From: Fang Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp under win98 Date: Fri, 09 Apr 1999 19:46:31 -0400 Organization: MindSpring Enterprises Lines: 33 Message-ID: <370E9157.49383948@mypad.com> References: NNTP-Posting-Host: 04.10.c2.d7 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 9 Apr 1999 23:44:53 GMT X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com George Foot wrote: > On 8 Apr 99 at 8:17, Fang wrote: > > > Hey, I'm running djgpp under win98 and I had the weirdest thing > > happen.. I wrote a little program, compiled it, ran it, and it worked > > fine. Then I made a small change, and it compiled fine. I ran it and > > my machine rebooted. So I boot back up, and change back what I > > changed. Now the program keeps crashing. It gives a "This program has > > executed an illegal operation" or somethnig like that. It gives the > > error right away, so I assume the program isn't getting very deep in the > > code :) I played around with the code for a while, but no matter what I > > do it crashes. I tried multiple reboots, cold boots, etc... any ideas? > > Any help is greatly appreciated :) Thanks > > If the program is very small, perhaps you could post it here. > If it's not, try making it smaller and smaller while still > having the bug. Hopefully you'll either find the bug yourself, > or get the program as small as possible so that you can post it > here. > > -- > George Thanks a lot man :) I just made each seperate function a self running program until I found the problem :) It was a stupid oversight on my part.. but thanks for the debugging idea :) Fang