Date: Sun, 3 Dec 1995 09:12:18 +0200 (IST) From: Eli Zaretskii To: Orlando Andico Cc: DJGPP Mailing List 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.