home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!uchdcc!vandi!pam
- From: pam@vandi.ars.cl (Pablo Ahumada M.)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: "Exec"ing DOS programs from Windows
- Distribution: world
- Message-ID: <712336302snx@vandi.ars.cl>
- References: <MePil9_00WB4QR=2QO@andrew.cmu.edu>
- Organization: Ars Innovandi (El arte de innovar)
- Lines: 19
- Date: Tue, 28 Jul 1992 14:21:00 CST
-
-
- > I need to be able to run a DOS program from my Windows program,
- > without the DOS program taking over the screen. In Borland C++ neither
- > "system" nor any of the standard Unix "exec" functions are defined under
- > Windows and I can't find any other functions documented in the standard
- > lib docs or ObjectWindows documentation.
- > What's the best way to run a program, at the very least duplicating
- > the functionality of the "Run" menu option under the Program Manager?
-
- WinExec( "c:\myprogram.exe a b c", SW_HIDE );
-
- Pablo.
-
- _______________________________________________________________
-
- Pablo Ahumada Mardones uucp : pam@vandi.ars.cl
- FAX : (56-2) 231 9756
- &8-)* Santiago, Chile
- _______________________________________________________________
-