Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Service Listing
#11
i'm trying to find out if a service is in a stopped state and so i made a slight change to your code to this one. but i get a list with each stopped service in there twice. did i do it wrong?

Code:
Copy      Help
if(!EnumServicesStatus(scm SERVICE_WIN32 SERVICE_INACTIVE &a[0] ne*sizeof(ENUM_SERVICE_STATUS) &_i &n 0))


thanks.
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)