Dolph
Dolph

Reputation: 1

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

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.

Upvotes: 0

Views: 38

Answers (0)

Related Questions