www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/02/04:30:00

Date: Sat, 2 Dec 1995 16:02:15 -0800 (GMT)
From: Orlando Andico <oandico AT gollum DOT eee DOT upd DOT edu DOT ph>
To: DJGPP Mailing List <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: DPMI problems under Windows

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...

-------------------------------------------------------------------------------
Orly A. Andico                       Instrumentation, Control, and Robotics Lab
oandico AT gollum DOT eee DOT upd DOT edu DOT ph            Dept of Electrical & Electronics Eng'g
                                          University of the Philippines Diliman
-------------------------------------------------------------------------------

- Raw text -


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