Mail Archives: djgpp/1998/02/15/07:03:01
On 15 Feb 1998, Myknees wrote:
> After the program exits, if I type mem/c/p or even just mem, Windows shuts down
> the DOS box and shows an error that says,
> "This program has performed an illegal operation and will be terminated...
> The program tried to execute an invalid instruction. Fault location 0E2D:5C52
> Interrupts in service: None."
You might be screwing the DOS memory chain, or overwriting somebody's
PSP.
Try running your program in plain DOS under CWSDPMI, it might catch some
garbled pointer you dereference, before it actually does some harm.
If that doesn't help, you will have to selectively disable parts of your
program and zero in on the code that produces this atrocity.
- Raw text -