Article View: comp.windows.ms
Article #1851Re: Spawning new applications
From: Kai-Uwe Rommel
Date: Tue, 03 Oct 1989 19:04
Date: Tue, 03 Oct 1989 19:04
15 lines
1325 bytes
1325 bytes
There was a discussion about the spawnl?() functions and other methods
for spawning new applications. In the winexp.h header from the Windows
SDK 2.1 I have seen a prototype for a LoadModule(LPSTR, LPSTR) call.
When I tried to use it to start a program this seemed to work but the
second parameter seems NOT to be the parameter string ("command line
arguments"). Also, the problems with closing the spawning application
before the spawned one are not solved (-> crash :-).
Does anybody know more about this call ? (second parameter !)
Is this the recommended call to spawn a new application ? (LoadModule
is exported as ordinal 45 from KERNEL.EXE and MSDOS.EXE imports this
function with a KERNEL.45 link).
Kai Uwe Rommel
Technical Details
Message-ID:
<826@tuminfo1.lan.informatik.tu-muenchen.dbp.de>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!udel!wuarchive!cs.utexas.edu!uunet!mcsun!unido!ztivax!tumuc!lan!rommelShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!udel!wuarchive!cs.utexas.edu!uunet!mcsun!unido!ztivax!tumuc!lan!rommel From: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Newsgroups: comp.windows.ms Subject: Re: Spawning new applications Message-ID: <826@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 3 Oct 89 19:04:27 GMT Sender: news@lan.informatik.tu-muenchen.dbp.de Reply-To: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Distribution: comp.windows.ms Organization: Inst. fuer Informatik, TU Muenchen, W. Germany Lines: 15