pacheco@uicbert.eecs.uic.edu (Mario Pacheco) (03/07/91)
I need to know how to spawn other Windows programs, i.e. they have no relation with the program being executed. An example of this would be the Program Manager, as well as the old MS-DOS Executive, and the shareware replacement to the Program Manager, Aporia. I have large reservations about the MS-DOS function call "SPAWN" being the solution since Windows system calls seem to provide almost everything you need. If anyone can please send me this information it would be greatly appreciated.
thorp@spudge.UUCP (Don Thorp) (03/08/91)
Use the Windows function WinExec. It launches both Windows applications and Dos applications.
dsampson@x102a.harris-atd.com (sampson david 58163) (03/08/91)
>I need to know how to spawn other Windows programs, i.e. they have no >relation with the program being executed. An example of this would be >the Program Manager, as well as the old MS-DOS Executive, and the >shareware replacement to the Program Manager, Aporia. There are 2 ways to launch another program from your windows application: 1) WinExec 2) LoadModule Each of these offers a slightly different approach in how you start up the application (i.e. paramaters passed to the functions). Personally, I use the WinExec when I don't have to worry about command line parameters. -- A new world record in the javalin throw / / / I ------------------------------------------------- David Sampson Harris Corporation dsampson@x102a.ess.harris.com Gov't Aerospace Systems Divison uunet!x102a!dsampson Melbourne, Florida -------------------------------------------------------------------------------