delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/04/17:16:32

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q]:All Windows Versions Ok?
Date: Sat, 04 Apr 1998 16:14:51 -0600
Organization: Spectrum Healthcare Services
Lines: 23
Message-ID: <3526B0DB.3CB0E369@a.crl.com>
References: <351CCC19 DOT 2430 AT easystreet DOT com>
NNTP-Posting-Host: a116008.stl1.as.crl.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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