Mail Archives: djgpp/1998/04/04/17:16:32
Al Christians wrote:
>
> I am compiling a C++ program with djgpp that will be made into
> an exe, then called via a WinExec() call from a 16-bit Windows
> 3.1 program. The intention is that this combination is supposed
> to work as is under all flavors of Windows, 3.1 and up, i.e.
> 3.1x with or without Win32s, Win95 (both FAT and FAT32), Win98,
> and NT 4.0. I think that all of these will supply usable DPMI
> for the djgpp-compiled executable, and that it will work under
> all of these. This program doesn't do anything with graphics or
> the mouse or any UI at all, so I don't think that it will hit
> problems of accessing hardware under NT.
>
> Is it reasonable to expect the same exe to run when called under any
> of those versions of Windows? Any traps or pitfalls? Seems to be
> working ok under NT so far.
If you get rid of the 16-bit Windows program that WinExec()'s your DJGPP
program, your program will run under all flavors of Windows, plus DOS.
--
Weiqi Gao
weiqigao AT a DOT crl DOT com
- Raw text -