CC.System.Diagnostics 0.1
I needed a way to find a process by it’s name on my Motorola Q so I modified some example code provided by Microsoft and wrote this simple class library. You can read more about the details here.
I needed a way to find a process by it’s name on my Motorola Q so I modified some example code provided by Microsoft and wrote this simple class library. You can read more about the details here.
You must be logged in to post a comment.
November 15th, 2007 at 7:22 pm
Hi, Cory…
First off, I love this site.
I have a related question to the process methods you have in your Diagnostics class. I have a need to write a very lightweight service that will ensure that a certain program is running at certain times. Your class to find a running process is a great example of how to do that, but my greater need is to know how to write a service. Can you point me in the direction of learning how to do that? I’ve searched high and low for a book, an article, or a class to learn how to write Windows Mobile services, but I have found none.
November 16th, 2007 at 11:19 pm
Thanks for the kind words regarding the site.
Unfortunately I have not been able to find any information regarding Windows Mobile services either. I’m not even sure if they exist. My only solution would be to write an app without a user interface. Put a shortcut to the app in \Windows\StartUp so it loads at boot. On most devices the console output is not visible to the user so maybe a console app is a good place to start.