delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/10/04:08:10

Date: Wed, 10 Dec 1997 11:07:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Joshua James Turpen <44699 AT ef DOT gc DOT maricopa DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Win95 and ___djgpp_hw_exception...
In-Reply-To: <9712091620.AA06288@gcef.gc.maricopa.edu>
Message-ID: <Pine.SUN.3.91.971210110639.10071A-100000@is>
MIME-Version: 1.0

On Tue, 9 Dec 1997, Joshua James Turpen wrote:

> Ok, I've rewritten the program to use 
> _crt0_startup_flags =_CRT0_FLAG_LOCK_MEMORY;
> 
> It still crashes.  

Try playing with the way you return from your handler.  I don't really
understand why did you elect to go to such lengths instead of just
chaining to the old handler (as in "ljmp %cs:_old" or something).
That's the only non-trivial part of your handler, so probably the bug
is there.

I still don't get why are you sticking to roll your own code instead
of using the existing facilities of setitimer and SIGALRM.

- Raw text -


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