delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/12/14:17:02

Date: Tue, 12 Jul 94 13:30:57 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: mcastle AT umr DOT edu
Cc: eliz AT is DOT elta DOT co DOT il, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: controlling where go32 puts program

> For example, suppose someone wrote a go32 based mouse driven
> menu.  If the child program doesn't use the mouse, and the mouse
> is moved, isn't an interrupt still made, and the handler needed
> to be called?  Would this require having to fix up vectors and
> and unfixing them upon return?  (Then again... is this what the
> borland routines swapvector() do, and why borland recommends you
> do something like swap();system();swap() ??)

go32 automatically swaps the interrupt table when you do system().
However, I can't guarantee that this is sufficient when DPMI is
involved.


- Raw text -


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