Mail Archives: djgpp/1999/08/30/11:42:01
Johan Venter <jventer AT writeme DOT com> wrote in message
news:OQPw3.5573$ei1 DOT 10963 AT newsfeeds DOT bigpond DOT com...
> Sid <zidharta AT yahoo DOT com> wrote in message
> news:7q04p6$9qu$1 AT nnrp1 DOT deja DOT com...
> <snip snip snip>
>
> Sid, I've replied to your other mail you sent me about this problem.
Please
> follow all my hints (about the -g switch and symify), as they'll probably
> safe your life on a few occasions.
>
> I still say that GPF is produced from your array indices being out of
> bounds. Remember, don't test in windows as you won't see any error from
that
> code at all (i tested the exe you sent me). The Windows DPMI server has a
> habit of letting pointer dereferences pass.
I don't know about Windows 95 (I've only owned Win 3.1, Win 98, and Macs),
but you can tell Windows 98's DPMI to be tougher about pointer dereferences
by telling it to protect memory. This will slow your program slightly, but
that's normal for debugging.
1. Right click your EXE. Choose Properties.
2. In the Memory panel, in the Conventional memory group, place a checkmark
next to Protected.
> Johan Venter
> ICQ 3643877
> surf.to/djgppig
come.to/yerrick
Download DOSArena, the best DJGPP game this side of
----- Message Truncated -----
- Raw text -