🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2205

Re: Windows NT and EMS for DOS programs

#2205
From: Anders Borum
Date: Mon, 17 May 1999 00:00
15 lines
1766 bytes
Daniel W. Mathiasen <mathiasen.news@nospam.iname.com> wrote in message news:MPG.11a79d6af2794d3e98968f@news.tele.dk...

> 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?
Technical Details
Message-ID: <SPP%2.47$ZM4.153@news.get2net.dk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <MPG.11a79d6af2794d3e98968f@news.tele.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: 113dfb,65dcd678c89af27d
X-Google-Attributes: gid113dfb,public
X-Google-Thread: f7a51,65dcd678c89af27d
X-Google-Attributes: gidf7a51,public
X-Google-Thread: fa6f6,65dcd678c89af27d
X-Google-Attributes: gidfa6f6,public
From: "Anders Borum" <abor@pixeleers.dk.spam.no>
Subject: Re: Windows NT and EMS for DOS programs
Date: 1999/05/17
Message-ID: <SPP%2.47$ZM4.153@news.get2net.dk>
X-Deja-AN: 478742152
Content-Transfer-Encoding: quoted-printable
References: <MPG.11a79d6af2794d3e98968f@news.tele.dk>
X-Priority: 3
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: abuse@uni2.dk
X-Trace: news.get2net.dk 926927218 130.227.158.220 (Mon, 17 May 1999 09:46:58 MET DST)
Organization: UNI2 Internet Kunde
X-MSMail-Priority: Normal
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 17 May 1999 09:46:58 MET DST
Newsgroups: comp.os.ms-windows.programmer.win32,dk.edb.programmering,dk.edb.programmering.c,microsoft.public.vc.language