![]() |
finding the status of service in windows
hi,
this is the cod that i was written for getting the service status.i have some problem in this code.i am not able to getting the staus of the service.anybody have idea plaese help me. Code:
DWORD ServiceGetStatus(char *sService) |
Re: finding the status of service in windows
Quote:
Code: cpp
The other mistake is here : Quote:
Code: cpp
What you were doing is passing a NULL pointer as arg ! So, I think the working code becomes : Code: cpp
|
Re: finding the status of service in windows
hi,
thank you for your help. regards suresh |
Re: finding the status of service in windows
My pleasure ! :biggrin:
|
| All times are GMT +5.5. The time now is 20:26. |