Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

FindFirstChangeNotification for serive status

Does anyone have source code for using FindFirstChangeNotification to check for a certain serive or process status, ie down ?
0
MatthewF
Asked:
MatthewF
  • 2
1 Solution
 
jkrCommented:
No, and nobody probably ever will, as this API *solely* serves the purpose of monitoring file systems.

To check whether a certain process is running, see http://support.microsoft.com/support/kb/articles/Q175/0/30.ASP ('HOWTO: Enumerate Applications on Win32').

To check which services are running, see http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0298/service.htm&nav=/msj/0298/newnav.htm ('Manipulate Windows NT Services by Writing a Service Control Program') which is a good information source on how to use the Service Control Manager API to achieve that.

Feel free to ask if you need more information!
0
 
MatthewFAuthor Commented:
Thanks for the assistance
0
 
jkrCommented:
>>Thanks for the assistance

Thaks, but why a 'C' then?????????
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now