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....

----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
41 Bell Rd South, PO Box 30368, Lower Hutt, New Zealand
Ph +64 4 5704821, fax +64 4 5704603
---------------------------------------------------------------------------
    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