Mail Archives: djgpp/1998/08/10/15:24:05
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 -