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 through CreateProcess. I want to kill the beggar but

Terminateprocess
generateconsoleevent
sendmessage(WM_DESTROY)
or createremotethread on Exitprocess
all fail to kill the dos box on NT. I am happy to kill entire NTVDM but 
cannot
figure out to do it. Ideas anyone? It looks some kind of enumprocesses and
finding the NTVDM somehow....


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to