[comp.windows.ms] Spawning processes from Windows

mikek@ziebmef.uucp (Mike King) (03/30/89)

Does anyone know the proper method of spawning a Windows program from
within another Windows program? Any info will be appreciated.

bturner@hpcvlx.HP.COM (Bill Turner) (04/04/89)

> Does anyone know the proper method of spawning a Windows program from
> within another Windows program? Any info will be appreciated.

There used to be a program on the DIAL bulletin board that demonstrated this.
Basically, you use the INT 21h function 4B EXEC call, with a bit of magic
incantation to set up lpszCmdLine and hPrevInstance correctly.  
(The lpszCmdLine magic is mainly for starting old apps rather than Windows
apps)

--Bill Turner