Hello,
Japheth, I tried what you said: ran hdpmi32 -r-m, then the exe, and it
worked;
then tried cwsdpmi -x then the exe, that also worked. Remaining question:
how do I build-in the '-x' switch at compile time? The sandman site
does not address this point, and the delorie search archives
Japheth wrote:
If your program runs in a Windows DOS-Box, but causes a page fault in DOS or
DOSEMU, then there's a good chance that it erroneously uses a NULL pointer
for
memory access. This is a pretty common error, and AFAIR there is a switch
for
cwsdpmi to disable the page 0 protection. You
Japheth, I tried what you said: ran hdpmi32 -r-m, then the exe, and it
worked;
then tried cwsdpmi -x then the exe, that also worked. Remaining question:
how do I build-in the '-x' switch at compile time? The sandman site does
It likely isn't desirable to have cwsdpmi -x always enabled because