TIP: Click on subject to list as thread! ANSI
echo: os2dos
to: DAVID NOON
from: JONATHAN DE BOYNE POLLARD
date: 1997-03-02 12:03:00
subject: Dpmi Parameters

 JP>> Unfortunately, some of the client-side code is in 
 JP>> DOS4GW.EXE itself, I believe.
 DN> In the copy with Watcom C/C++ 10.6 this is hauled in automatically by
 DN> the stub module. You do need to have the DOS/4GW (i.e. Watcom)
 DN> directory along the path, but you don't need to use DOS4GW.EXE to
 DN> load the program.
Yes, but all that that means is that the stub program was augmented so that 
it went searching for DOS4GW.EXE along the path if the executable was invoked 
directly.  DOS4GW.EXE is still required.  
On a system with a DPMI host of its own (such as an OS/2 Virtual DOS 
Machine), the DPMI host built in to DOS4GW.EXE (i.e. "VMM") isn't required 
and won't be initialised by the DPMI client.  But that doesn't mean that 
DOS4GW.EXE itself is superfluous, because I believe that not all of the 
client side code is in the application executable itself.  At the very least, 
the loader for the LE format that brings the "real" program into memory seems 
to be in DOS4GW.EXE.  I suspect that that is not the only "necessary" DPMI 
client code that resides in DOS4GW.EXE instead of the application executable 
itself.
 ¯ JdeBP ®
--- FleetStreet 1.16 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.