X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Charles Sandmann 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: 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.