www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/24/02:25:38

Message-Id: <1.5.4.32.19961024061139.006dddbc@ans.com.au>
Mime-Version: 1.0
Date: Thu, 24 Oct 1996 16:11:39 +1000
To: djgpp AT delorie DOT com
From: Nicholas FitzRoy-Dale <wzdd AT mailhost DOT net>
Subject: Win 95 - slack DPMI?

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019