Get kill from the NT resource kit - should do the trick . Alternatively,
you can get the source code to kill from MSDN and port that to Delphi -
only a few lines not too difficult.
Regards,
Dennis.
I am really hitting my head on a brick wall here. I am running a bat file
under
cmd.exe thro
> I misunderstood. I thought you said you were running a .BAT
> file. .BAT files _DO_ run "under" the shell so terminating the CMD.EXE
> process would terminate them.
No. I am running a BAT file, but 16-bit apps do still have execute inside a
VDM. Killing CMD.EXE has no effect on the current
> It is. You get the pid for CMD.EXE returned from Createprocess and you
> can stop it no trouble. The 16-bit applications running under it however
are
> run in NTVDM. Killing CMD.EXE doesnt stop them. WM_CLOSE messages
Ah - I see the confusion.
16-bit apps you launch from the CMD.EXE shell don'
> I believe CMD.EXE runs as a win32 process - not in the NTVDM
>
> if you have the hwnd for it try posting a WM_CLOSE message
It is. You get the pid for CMD.EXE returned from Createprocess and you
can stop it no trouble. The 16-bit applications running under it however are
run in NTVDM. Killing
I believe CMD.EXE runs as a win32 process - not in the NTVDM
if you have the hwnd for it try posting a WM_CLOSE message
ns
-Original Message-
From: Phil Scadden <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Tuesday, 12 September 2000 10:50
Subjec