Why does my wbemservices execquery work when I run from command prompt, but triggers an access violation when run as a service?

32 views Asked by At

I have a query that gets a list of the running processes so I can monitor some of them. When I run my software from the command prompt it works just fine, but when I install it as a service I get an access violation. On the exec query call.

I would have expected the program running as a service to behave like the program running from command line.

0

There are 0 answers