SalmanBajwa@gmail.com Guest
|
Posted: Wed Jun 01, 2005 1:08 pm Post subject: Problem with ChangeServiceConfig |
|
|
Hi,
I am stuck with a problem in ChangeServiceConfig API. I am using this
API to change the Service Logon options for a service after
installation. But if i install the service on a fresh machine (on which
this service wasnt being installed perviously), this API doesnt work.
But when i go to Windows Service manager, and manually change the
logon options. and click OK. it displays me message "The Service
options are changed from local system"... (something like this
message). And after that whenever this API is used, it works fine......
Can anyone tell me what could be the problem for first time? Why its
not being functional??
|
|