🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #1574

Looking for better spawn function for Borland C++

#1574
From: Chris Crook
Date: Mon, 07 Sep 1992 20:46
19 lines
1268 bytes
I am programming using Borland C++ and I am looking for a bigger and better
version of the spawn function.  What I want to be able to do is run another
program and give it nearly all the available memory, then return to my
original program more or less exactly as I left it.  Obviously I will have
to page the original out to disk, or extended memory, or somewhere, and
bring it back in again afterwards.

Can anyone point me to any advice, books, source code, or libraries that
implement this function.

The only method I can see at the moment is to write a small shell
program to sit under the main program and do this function when
activated by an interrupt call (? intercept the DOS EXEC function).

Any other suggestions would be welcome!

Thanks in advance
Chris Crook
Technical Details
Message-ID: <1992Sep7.204630.16074@gopher.dosli.govt.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!newshost!srlncnc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!newshost!srlncnc
Newsgroups: comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer
Subject: Looking for better spawn function for Borland C++
Message-ID: <1992Sep7.204630.16074@gopher.dosli.govt.nz>
From: srlncnc@gopher.dosli.govt.nz (Chris Crook)
Date: Mon, 7 Sep 1992 20:46:30 GMT
Sender: srlncnc@gopher.dosli.govt.nz (Chris Crook)
Organization: Department of Survey and Land Information, New Zealand
Lines: 20