delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/05/01:10:11

Message-ID: <3668CDBB.77A31CFD@montana.com>
Date: Fri, 04 Dec 1998 23:07:55 -0700
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Page fault on 486
References: <3668B30E DOT C8F35DA9 AT datek DOT com DOT my>
Reply-To: djgpp AT delorie DOT com


Jason wrote:
> 
> Please anyone out there pls pls help because I've completed my
> application and only found out now that it wouldn't run properly.

The dpmi server in Windows will silently accept some error conditions,
while cwsdpmi will correctly report these errors. A typical problem
might be attempting to access memory using a NULL pointer, or passing
null strings to some of the library functions.

I'd suggest you debug your code to find out what the problem is. Include
the debug information by using the '-g' compile switch, then, when the
program crashes, 'symify' will display the funtions leading up to the
error. Solving the problem now will pay off in the long run.

- Raw text -


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