home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / ibm / pc / misc / 12309 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.3 KB

  1. Xref: sparky comp.sys.ibm.pc.misc:12309 comp.sys.ibm.pc.programmer:382
  2. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!newshost!srlncnc
  3. Newsgroups: comp.sys.ibm.pc.misc,comp.sys.ibm.pc.programmer
  4. Subject: Looking for better spawn function for Borland C++
  5. Message-ID: <1992Sep7.204630.16074@gopher.dosli.govt.nz>
  6. From: srlncnc@gopher.dosli.govt.nz (Chris Crook)
  7. Date: Mon, 7 Sep 1992 20:46:30 GMT
  8. Sender: srlncnc@gopher.dosli.govt.nz (Chris Crook)
  9. Organization: Department of Survey and Land Information, New Zealand
  10. Lines: 20
  11.  
  12.  
  13. I am programming using Borland C++ and I am looking for a bigger and better
  14. version of the spawn function.  What I want to be able to do is run another
  15. program and give it nearly all the available memory, then return to my
  16. original program more or less exactly as I left it.  Obviously I will have
  17. to page the original out to disk, or extended memory, or somewhere, and
  18. bring it back in again afterwards.
  19.  
  20. Can anyone point me to any advice, books, source code, or libraries that
  21. implement this function.
  22.  
  23. The only method I can see at the moment is to write a small shell
  24. program to sit under the main program and do this function when
  25. activated by an interrupt call (? intercept the DOS EXEC function).
  26.  
  27. Any other suggestions would be welcome!
  28.  
  29. Thanks in advance
  30. Chris Crook
  31.  
  32.