Date: Thu, 15 Nov 2001 14:42:35 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Christian Richter cc: djgpp AT delorie DOT com Subject: Re: 16bit program calls from 32bit djgpp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.