🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1556

Re: Spawning other Windows programs

#1556
From: sampson david 58163
Date: Thu, 07 Mar 1991 18:34
29 lines
1912 bytes
>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

-------------------------------------------------------------------------------
Technical Details
Message-ID: <DSAMPSON.91Mar7133431@x102a.harris-atd.com>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!rex!uflorida!mlb.semi.harris.com!trantor.harris-atd.com!trantor!dsampson
References: <1991Mar6.172043.28286@uicbert.eecs.uic.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!rex!uflorida!mlb.semi.harris.com!trantor.harris-atd.com!trantor!dsampson
From: dsampson@x102a.harris-atd.com (sampson david 58163)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Spawning other Windows programs
Message-ID: <DSAMPSON.91Mar7133431@x102a.harris-atd.com>
Date: 7 Mar 91 18:34:31 GMT
References: <1991Mar6.172043.28286@uicbert.eecs.uic.edu>
Sender: news@trantor.harris-atd.com
Distribution: comp
Organization: Harris Gov't Aerospace Systems Division
Lines: 29
In-reply-to: pacheco@uicbert.eecs.uic.edu's message of 6 Mar 91 17:20:43 GMT