ragdog Posted August 15, 2010 Posted August 15, 2010 HiCan i get the status of a service (if closed or if running)Thanks
ghandi Posted August 15, 2010 Posted August 15, 2010 This example shows how to enumerate services and get information about them, it is coded in Visual Basic but uses Win32 API, so converting it shouldn't present a problem./>http://www.devx.com/vb2themax/Tip/19044This example shows how to get the status of a service and then 2 wrappers to show if a service is running or not.Although its Delphi, its using Win32 API so coding it in assembler shouldn't present a problem./>http://www.chami.com/tips/delphi/031498d.htmlBut this is only if you mean Windows services. Your post isn't very descriptive or informative, so i have guessed that you want to check the status of a Windows service via code. Four-F Driver Kit may be useful also, it has assembler examples of how to interface with the SCManagerHR,Ghandi
ragdog Posted August 15, 2010 Author Posted August 15, 2010 (edited) Thanks ghandiFor this Delphi link it works Edited August 15, 2010 by ragdog
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now