Home All Groups Group Topic Archive Search About

16-bit applications and System.Diagnostics

Author
8 Mar 2006 10:09 AM
ChrisBowringGG@gmail.com
Hi,

I am trying to get information about 16-bit applications using
Process.GetProcesses and variants, but none of the 16-bit
applications show up with these methods.

I tried to get at them by looking at the properties of the
ntvdm process (see
http://www.microsoft.com/mspress/india/Pages/WinXP_tips_Insideout_101801_786.htm),

but all I can get at is the MainWindowTitle property of the process,
which just shows the MainWindowTitle of one of the processes
run by ntvdm (the last one, I think) and not all of them.

What I am trying to achieve is to find out how many of these
applications are running before launching new instances.
Process.GetProcessesByName doesn't work on 16-bit processes.

Does anyone know of a different way to get information about
16-bit applications using the framework. Specifically, I need to
know how many are running using their name as an identifier,
and I need to be able to end them.

Can anyone help?

Thanks,

Chris.

AddThis Social Bookmark Button