ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/10/15:24:05

Message-Id: <35CF48EC.1F9B@cableol.co.uk>
Date: Mon, 10 Aug 1998 20:24:28 +0100
From: Allens <allen DOT asjp AT cableol DOT co DOT uk>
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>

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

- Raw text -


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