home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 980 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.2 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!ak10+
  2. From: ak10+@andrew.cmu.edu (Andrew Joseph Kompanek)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: "Exec"ing DOS programs from Windows
  5. Message-ID: <MePil9_00WB4QR=2QO@andrew.cmu.edu>
  6. Date: 23 Jul 92 09:28:41 GMT
  7. Article-I.D.: andrew.MePil9_00WB4QR=2QO
  8. Organization: Carnegie Mellon, Pittsburgh, PA
  9. Lines: 24
  10.  
  11.  
  12. Request for information....
  13.  
  14.  
  15.  
  16. I need to be able to run a DOS program from my Windows program,
  17. without the DOS program taking over the screen.  In Borland C++ neither
  18. "system" nor any of the standard Unix "exec" functions are defined under
  19. Windows and I can't find any other functions documented in the standard
  20. lib docs or ObjectWindows documentation.
  21. What's the best way to run a program, at the very least duplicating
  22. the functionality of the "Run" menu option under the Program Manager?
  23.  
  24. Ideally I'd like to have the DOS program running in the
  25. background completely invisible to the user. (am I asking too much?)
  26. Any advice would be very appreciated...
  27.  
  28. Thanks,
  29. Drew
  30.  
  31. Andrew Kompanek
  32. Dept. of Human Genetics
  33. University of Pittsburgh
  34. e-mail: drew@chimera.hgen.pitt.edu
  35.