From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem spawning Pmode/w !!! Date: Fri, 30 May 1997 22:56:57 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 32 Message-ID: <338F5B39.7030@cs.com> References: <338e5112 DOT 3875299 AT usenet DOT nau DOT edu> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp105.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Michael D. Ryan wrote: > > I had a program that ran fine under Win95 (Dos shell) but would not > run with CWSDPMI. Everytime I ran it with cws, I got GPF at different > places in my program. I tested it thoroughly under win95 and could > not get even 1 gpf. Such errors are very likely to be caused by NULL pointer dereferences in your program. The Windows DPMI host does not protect against such errors, while cwsdpmi does. If this does not appear to be your problem, please post the following: - Complete description of the problem - Details about your computer (OS, DOS version, memory managers, other TSRs, etc.) - Version number of DJGPP and associated programs - The smallest code fragment from your program which is sufficient to generate the error(s). - Exact copy of a symified crash traceback from the above code Make sure that you compile your program with the -Wall and -O switches to make the compiler report as many warnings as possible. Make sure you have the most up to date versions of all DJGPP programs. Without more details, this is about all I can recommend. ;) -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | God's final message to His Creation: | http://www.cs.com/fighteer | | "We apologize for the inconvenience."| <<< This tagline under >>> | | - Douglas Adams | <<< construction >>> | ---------------------------------------------------------------------