I discovered that "access denied" was (apparently) due to running the dos
program with flag DETACHED_PROCESS. Looks like this is no-no. I 
changed instead to CREATE_NEW_CONSOLE, which worked (but couldnt
capture the text) but each time I ran, a new empty DOS box appeared 
despite a freeonterminate flag. In addition, NTVDM processes appeared and
hang around. Tried no flags at all and the DOS program didnt actually do 
anything despite no error message but did leave a bunch if NTVDMs around
chewing CPU. So what is secret of starting a DOS box and have it cleaned 
up on completion?

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

Reply via email to