Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Killing the DOS window, Part II.
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00502520
Message ID:
00502999
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform