delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/15/07:49:36

Date: Thu, 15 Nov 2001 14:42:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Christian Richter <c DOT richter AT or-computers DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: 16bit program calls from 32bit djgpp
In-Reply-To: <acbc941b.0111150147.788858ab@posting.google.com>
Message-ID: <Pine.SUN.3.91.1011115144100.14688H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 15 Nov 2001, Christian Richter wrote:

> Is it possible to call a conventional 16bit DOS
> program within the 32bit environment?
> 
> For example:
> 1) I use a GNU shell provided by djgpp.
>    Can I start a 16bit DOS program (foo.exe)
>    from this shell?
> 
>      bash> foo

Yes.  You might have problems with 16-bit protected-mode programs, though 
(because the DPMI spec disallows mixing 16-bit and 32-bit DPMI clients in 
the same session, and Bash, being a DJGPP program, is a 32-bit DPMI 
client).

> 2) I have a 32bit application and want to call
>    foo.exe within that program with a
>    "system()"-like call. Is this possible?

Yes.

- Raw text -


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