16-bit applications and System.Diagnostics

C

ChrisBowringGG

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 to no avail.

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.

Can anyone help?

Thanks,

Chris.
 
W

Willy Denoyette [MVP]

No, they don't work for 16 applications they work only for 'proceses' which
are 32 or 64 bit, 16 'applications' aren't processes, they run inside the
one and only 'ntvdm' process.

Willy.

| 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 to no avail.
|
| 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.
|
| Can anyone help?
|
| Thanks,
|
| Chris.
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top