Hello,
I am writing an application using the .NET CF2. The purpose of this app is
to provide a means of starting and terminating a certain background process.
I can start the process using the process.start method. The problem is that I
have no way of knowing whether the process is already running. Is there a way
to find the process by the executable name? The GetProcessesByName method
does not exist in the compact framework. Is there a native code equivalent
that I can dll import? I have seen an app written in .NET that lists all
running process names and thier IDs, with the option to kill them, so I know
that it is possible. Alternatively, Is there a way to find the processes
message queue by name so that I could ping it, or send it a quit message?
Thanks
Jonathan King