From: XXguille AT XXiies DOT XXes (Guillermo Rodriguez Garcia) Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp under win98 Date: Thu, 08 Apr 1999 15:07:29 GMT Organization: Telefonica Transmision de Datos Lines: 30 Message-ID: <370eb71e.3736927@noticias.iies.es> References: <370C9E61 DOT 81A535DA AT mypad DOT com> NNTP-Posting-Host: iies239.iies.es Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Forte Agent 1.5/32.451 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com El día Thu, 08 Apr 1999 08:17:37 -0400, Fang escribió: >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 Please isolate the small possible fragment of code which we can use to reproduce that behaviour, then post it in the newsgroup. You'll sure get a lot of help, but it's kind of difficult with the limitied information you give in your message. However, the fact that your program ran fine the first time *doesn't mean it's correct*. A buggy program can crash randomly with no aparent reason (though there must be one, of course), and work the rest of the time. Maybe you're using non-allocated memory, overwriting your own code with data, or something like that. Salu2: GUILLE ---- Guillermo Rodriguez Garcia XXguille AT XXiies DOT XXes (ya sabes :-)