Mail Archives: djgpp/1996/10/24/02:25:38
Hi everyone. Being relatively new to djgpp and C in general, I like to
program under Windows 95 by multitasking two or more DOS boxes, one running
info and the other RHIDE. Unfortuantely, also because I am fairly new to
this, I made several errors in my programs that I could not discover under
Windows 95, but crashed CWSDPMI.
Basically I was writing to memory pointed to by an uninitialised pointer,
which means that the the memory to which I was writing could have been mine
or anyone else's. DPMI under '95 failed to terminate my program as it
should have, which made me wonder what other leniency was built into Windows
DPMI that could hide severe errors from me for ages?!
Can anyone recommend a freeware or shareware multitasker for DOS, that will
either allow me to run CWSDPMI or has a better DPMI implementation that
Windoze? Alternatively, is there anything I could set in the compile of my
program to tell me if I was writing to memory that wasn't mine?
Please help, as I would like to continue to develop my program under some
multitasker but I hate the fact that Win 95 lets all these bugs through! (I
can imagine the Microsoft pitch: using Windows 95 means you have to track
down fewer bugs! :) )
-/\/icholas
wzdd AT mailhost DOT net (for regular email)
nicholas AT ans DOT com DOT au (for files & lists)
- Raw text -