delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/10/11:45:13

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Difference between running programs in windows and MS-DOS
Date: Sun, 10 Mar 2002 10:23:36 CST
Organization: Rice University, Houston TX
Lines: 12
Message-ID: <3c8b8888.sandmann@clio.rice.edu>
References: <a6fkle$cb2b$1 AT as201 DOT hinet DOT hr>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1015777631 17806 128.42.105.3 (10 Mar 2002 16:27:11 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 10 Mar 2002 16:27:11 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I don't know why my programs work very well when I try them under Windows in
> MS-DOS prompt, and they crash when they run in MS-DOS mode?

Try this - before running the program under MS-DOS, issue the command
 cwsdpmi -x

This will set up cwsdpmi to run once with extensions disabled, needs r5.
It's a workaround to let buggy programs written and only tested on 
Windows to be run under DOS.

Run the program.  Does it crash?  If it does not, then it has a null
pointer bug.

- Raw text -


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