>Hi!
>
>>Hi Vlad,
>>
>>>Hi!
>>>
>>>Only one instance of NTWDM could be in the memory. If you kill it, you will kill all DOS or Windows 3.* programs currently running.
>>>
>>
>>That does not seem to be correct (at least not for Windows 2000). There is an instance of NTVDM for every DOS window open and I have to loop through them to destroy them one by one.
>>
>
>Well, its true for NT. Maybe need to play around parent/child process here?
>
Thanks for the code! I will try it.
BTW, I just checked in Task Manager on NT 4, and it also has an instance of NTVDM.EXE for every DOS Window.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison