Hi help me to run my codeservice mode
-
Help to run my project in Sevice mode Getting error 1053 , when trying to start from service mode dil
-
Help to run my project in Sevice mode Getting error 1053 , when trying to start from service mode dil
-
Error 1053 means ERROR_SERVICE_REQUEST_TIMEOUT It seems as if your code isn't responding to some kind of event. If you want a more detailed answer, please give more details about the problem.
LPCTSTR name123 = "sangaraju" ; SC_HANDLE hSCManager =( OpenSCManager(NULL,NULL,SC_MANAGER_CREATE_SERVICE)); SC_HANDLE hi = OpenService(hSCManager,name123,SERVICE_ALL_ACCESS ); SC_HANDLE hSCreate = CreateService(SCManager,name123,name123 ,SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS,SERVICE_AUTO_START,SERVICE_ERROR_IGNORE, "\"d:\\Shu.exe\"",NULL,NULL,NULL,NULL,NULL); and then Closed the services...... Opened the Windows services i found Startup type = automatic , and status is empty But when iam trying to start in the servics , Error which iam getting is Error 1053 : " The service did not respond to the start or control request in timly fashion" Please help me Kakan....... Thanks in advance
-
LPCTSTR name123 = "sangaraju" ; SC_HANDLE hSCManager =( OpenSCManager(NULL,NULL,SC_MANAGER_CREATE_SERVICE)); SC_HANDLE hi = OpenService(hSCManager,name123,SERVICE_ALL_ACCESS ); SC_HANDLE hSCreate = CreateService(SCManager,name123,name123 ,SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS,SERVICE_AUTO_START,SERVICE_ERROR_IGNORE, "\"d:\\Shu.exe\"",NULL,NULL,NULL,NULL,NULL); and then Closed the services...... Opened the Windows services i found Startup type = automatic , and status is empty But when iam trying to start in the servics , Error which iam getting is Error 1053 : " The service did not respond to the start or control request in timly fashion" Please help me Kakan....... Thanks in advance
Hello. Your servce code has to respond on different messages, such as start, stop, pause e.t.c. As well as responding to queries from the OS... I think you will have to do your homework on this one (study), or (quicker, i think). Follow the advice from ThatsAlok and check out XYNTService. Use it as it is or study the code. It's very informational (Is that an English word? :)) Kakan
-
Hello. Your servce code has to respond on different messages, such as start, stop, pause e.t.c. As well as responding to queries from the OS... I think you will have to do your homework on this one (study), or (quicker, i think). Follow the advice from ThatsAlok and check out XYNTService. Use it as it is or study the code. It's very informational (Is that an English word? :)) Kakan
kakan wrote:
It's very informational (Is that an English word? )
look like to be :)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
kakan wrote:
It's very informational (Is that an English word? )
look like to be :)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV