bryan7
asked on
How to start a service
How can I start a win xp service ?
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I get an error doing it programatically:
ss.dwCurrentState := -1;
Constant expression violates subrange bounds.
ss.dwCurrentState := -1;
Constant expression violates subrange bounds.
ASKER
According to MSDN, guess it should be 0 or anything above it ?
dwCurrentState
Indicates the current state of the service. One of the following values is specified: Value Meaning
SERVICE_STOPPED The service is not running.
SERVICE_START_PENDING The service is starting.
SERVICE_STOP_PENDING The service is stopping.
SERVICE_RUNNING The service is running.
SERVICE_CONTINUE_PENDING The service continue is pending.
SERVICE_PAUSE_PENDING The service pause is pending.
SERVICE_PAUSED The service is paused.
dwCurrentState
Indicates the current state of the service. One of the following values is specified: Value Meaning
SERVICE_STOPPED The service is not running.
SERVICE_START_PENDING The service is starting.
SERVICE_STOP_PENDING The service is stopping.
SERVICE_RUNNING The service is running.
SERVICE_CONTINUE_PENDING The service continue is pending.
SERVICE_PAUSE_PENDING The service pause is pending.
SERVICE_PAUSED The service is paused.
put it 0 (or SERVICE_STOPPED)
ASKER
Umm can't split points ? there used to be a way I think .. ?
Look after the last comment, there is a link to split the points
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
wow nice help :) I will split 30/3 A graded, but I can't see the split button, only Accept :?
the split link is below the last comment
here is how it looks on my side :)
http://img221.imageshack.us/my.php?image=split3pi.jpg
http://img221.imageshack.us/my.php?image=split3pi.jpg
ASKER
Maybe I have to accept an answer first ?
I'm not sure. In my case, the screen shot is made for my only question that I have here on EE and the split link is there. I don't know what you might have done that those increase points appeared. sorry
No. either you accept a single comment as answer using the button along the comment, or you use the split points link, where you mark 1 comment as answer and distribute the points among all the comments (except yours, of course)
ASKER
but there's no such link somehow :S
There should be one, for any questioner:
https://www.experts-exchange.com/help.jsp#hi19
If really you cannot find it, please ask a question in the community support topic area, a moderator will assist you then.
https://www.experts-exchange.com/help.jsp#hi19
If really you cannot find it, please ask a question in the community support topic area, a moderator will assist you then.
After quickly going thru the help section, I found that if you use the split option, the minimum amount of points you can give to someone is 20.
So (if I'm not wrong) to split 30/3 means 10 points each -> not possible :(
To check it out, use angelIII's link:
https://www.experts-exchange.com/help.jsp#hi19
So (if I'm not wrong) to split 30/3 means 10 points each -> not possible :(
To check it out, use angelIII's link:
https://www.experts-exchange.com/help.jsp#hi19
anorganix, good point!
bryan7, to split points among 3 comments, you have to increase to at least 60 points.
bryan7, to split points among 3 comments, you have to increase to at least 60 points.
ASKER
Oh I see, well raising to 60 then =)
ASKER
Thanks :)
Glad we could help
net start <service name>