> Eric, the program I wrote, which drew the page fault, uses the int86 in > four of the eight functions. the program > is a mouse event handler, and "micro-gui". I already had included > 'dos.h', but I did not realize ther was a 'dpmi.h'! > I'll have to pry into that header to try to see what exactly it can do. > The thing is, djgpp has a nice solid library, > and I like to stick with something that looks "standard". At any rate, > does anyone know of a utility that will stick > a PE stub on a djgpp, either alone, or in tandem with the MZ stub, > insuring dos compatability?--kurt<wb2...@gmail.com > <mailto:wb2...@gmail.com>>.
If your program runs in a Windows DOS-Box, but causes a page fault in DOS or DOSEMU, then there's a good chance that it erroneously uses a NULL pointer for memory access. This is a pretty common error, and AFAIR there is a switch for cwsdpmi to disable the "page 0 protection". You can also test with HDPMI's -m switch: C:\>HDPMI -r -m C:\>your_program.exe If your program runs in this configuration without page fault, there is a "forbidden" NULL pointer usage inside your program. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user