On 1/7/07, Alex Smotritsky <[EMAIL PROTECTED]> wrote:
How does one compile the sample code here:

http://www.pinvoke.net/default.aspx/advapi32/QueryServiceConfig.html

Beside the fact that the sample compiles and runs fine (after adding a
reference to System.ServiceProcess, and 2 more using declarations for
System.ServiceProcess and System.Diagnostics), what's what you're
trying to find out about the service? Can't the ServiceController
class and/or WMI do the job or you just need to pinvoke the method?

Cheers,
Stoyan

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to