www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/03/03:35:07

Date: Sun, 3 Dec 1995 09:12:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Orlando Andico <oandico AT gollum DOT eee DOT upd DOT edu DOT ph>
Cc: DJGPP Mailing List <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: Re: DPMI problems under Windows

On Sat, 2 Dec 1995, Orlando Andico wrote:

> I'm using the _go32_dpmi... functions in a program. Essentially, it's 
> just an interface to a real-mode interrupt handler (a hardware 
> interface). Under DOS, everything works fine; I also have a real-mode 
> version of this program, written using TC++ 1.00, and it works fine too. 
> However, when I run the program (DJGPP version) in a DOS box under 
> Win3.1, it immediately bombs; not a segment violation or something of 
> that sort, but it fails to access the real-mode hardware interrupt 
> handler. I'm confused because I faithfully used all the appropriate 
> _go32_dpmi... functions, and the program works fine under DOS...

It's very hard to tell what's wrong with your code without knowing how do 
you try to access the real-mode handler.  Can you post the code fragment 
where your program bombs?  You can find the source line wher this happens 
by using the symify program; its usage is explained in the DJGPP FAQ list.

- Raw text -


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