Mail Archives: djgpp/1999/09/09/21:06:45
Rez wrote:
> Question, then: I beta-test for a coder who works with DJGPP under
> Win95. I test our app exclusively in real DOS. About half the time when
> there's a bug, the program runs just fine under Win95 in a DOS box (both
> for the coder and my testing partner) but segviols before it even gets
> fully loaded under real DOS with CWSDPMI. Sometimes this happens even
> with trivial bugs, like a wonked menu item. I realise this is vague, but
> anything in particular which causes this dichotomy (bug has no effect
> under Win95, dies spectacularly under DOS) ??? ISTM if we knew what
> sort of things cause this, we (ie. our coder) could avoid 'em up front.
Dereferencing NULL pointers is NOT caught under Win9x, but IS caught under
cwsdpmi, so > 90% of these types of issues are caused by null-pointer
dereferencing.
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT HotMail DOT com
ICQ: 32959047
- Raw text -