Article View: comp.os.ms-windows.programmer.win32
Article #2202Re: Windows NT and EMS for DOS programs
From: Daniel W. Mathiasen
Date: Wed, 19 May 1999 00:00
Date: Wed, 19 May 1999 00:00
22 lines
1807 bytes
1807 bytes
In article <SPP%2.47$ZM4.153@news.get2net.dk>, abor@pixeleers.dk.spam.no state..
>
> > I need to start a DOS program in Windows NT, I do this with =
> CreateProcess(...),
> > and everything is fine, unless if the program I am calling uses EMS, =
> then it
> > won't start, and if I check how much EMS I have, it is zero.
> >
> > I know how I can set the EMS on a specific shortcut, what I don't know =
> is how to
> > programatically call an exe file and get the EMS memory I need.
>
> Try using CreateProcess to call the shortcut (with correct memory =
> settings) directly?
>
It will work, but I have no way of creating the short-cut on the customer
machines. So it isn't a feasible solution. :-(
--
Regards, | Try the IRC channel #vc++, on the Undernet
Daniel W. Mathiasen | servers, a very good support forum.
Technical Department | an IRC client can be downloaded from:
AIR SUPPORT | http://www.mirc.co.uk
Technical Details
Message-ID:
<MPG.11ac9f30dc5ce5f5989691@news.tele.dk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<MPG.11a79d6af2794d3e98968f@news.tele.dk> <SPP%2.47$ZM4.153@news.get2net.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d22,65dcd678c89af27d X-Google-Attributes: gid109d22,public X-Google-Thread: f7a51,65dcd678c89af27d X-Google-Attributes: gidf7a51,public X-Google-Thread: fa6f6,65dcd678c89af27d X-Google-Attributes: gidfa6f6,public X-Google-Thread: 113dfb,65dcd678c89af27d X-Google-Attributes: gid113dfb,public From: mathiasen.news@nospam.iname.com (Daniel W. Mathiasen) Subject: Re: Windows NT and EMS for DOS programs Date: 1999/05/19 Message-ID: <MPG.11ac9f30dc5ce5f5989691@news.tele.dk> X-Deja-AN: 479567521 References: <MPG.11a79d6af2794d3e98968f@news.tele.dk> <SPP%2.47$ZM4.153@news.get2net.dk> Organization: AIR SUPPORT Newsgroups: comp.os.ms-windows.programmer.win32,dk.edb.programmering,dk.edb.programmering.c,microsoft.public.vc.language