Mail Archives: djgpp/1998/03/28/13:40:44
At 02:08 3/28/1998 -0800, 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.
DJGPP is known to support Windows 3.1 and 95 fully, and I believe I've heard
success reports about 98. Windows NT also works; the only gotcha is that you
can't use long file names, but only their short aliases. AFAIK, the only
problems with Windows in general are: no null pointer protection, and
`usleep' may not always work.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -