Message-Id: <35CF48EC.1F9B@cableol.co.uk> Date: Mon, 10 Aug 1998 20:24:28 +0100 From: Allens Mime-Version: 1.0 To: gbowman AT ozemail DOT com DOT au Cc: djgpp AT delorie DOT com Subject: Re: windows dos box vs dos References: <35CDB01B DOT 6ED2 AT ozemail DOT com DOT au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Dimebag Darrell II wrote: > > Hi, could someone pleeease help me with this one :) > I have been developing a particular program with djgpp, and since i am > using bitmap files, etc... i usually do it in a dos box under windows. > The program (and others i have made) run fine in the dos box but seem to > crash for no reason under true dos. Any idea why? > in this program it happened while printing to the screen. But, the weird > thing is, the command before it also printed to the screen, and didnt > cause a problem. help me! > thanks :) I guess that your problem is that you are trying to dereference a NULL pointer. This will usually pass undetected under Windows because the Windows DPMI server doesn't catch such bugs, while CWSDPMI does. You need to establish where is that garbled pointer, and then to correct that. Thanks to Eli for that message, I have just copied it from an earlier message.... In future, and if that doesn't work, print the exact traceback the program gives. (Using redir ). Peter Allen