Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cunixf.cc.columbia.edu!gg2 From: gg2@cunixf.cc.columbia.edu (Guy Gallo) Newsgroups: comp.windows.ms Subject: Re: Real-mode Win3 as a 386-enhanced-mode Win3 DOS task? Message-ID: <1990Sep30.222531.27301@cunixf.cc.columbia.edu> Date: 30 Sep 90 22:25:31 GMT References: <2083@van-bc.wimsey.bc.ca> Organization: Columbia University Lines: 26 In article <2083@van-bc.wimsey.bc.ca> Samuel Lam writes: >We have a pre-3.0 Windows application which will only run under >Windows 3.0 in real-mode. Would running Windows 3.0 first in >386-enhanced-mode and then start it a second time (in real-mode) >within a DOS task of the first invocation and then running this >program work? Sam, Yes, this will work, assuming you have enough memory. I've done this by defining a PIF file which calls WIN.COM, and setting the XMS (high memory) setting to 1024. If you have enough memory then it is a good idea to "lock" this use of high memory. This would result in a Real Mode Windows window with about 1400k free. If you are using all extended memory then you have to make sure that NoEMMDriver = False (or no such line at all) is in SYSTEM.INI. This line, if set to True, disables Windows 3.0's emulation of EMM memory when an application requests it. It is useful if you are using Qemm 5.11 to manage your memory, since in that case you don't need Windows to fake EMS since Qemm is profviding it. I also found it useful to define a short cut key (Alt-Shift-W) in the PIF file to be able to quickly jump to this real mode window. Hope this helps.