Create a windows service.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karthik baskar
    New Member
    • Sep 2010
    • 16

    Create a windows service.

    Hi,
    I want to create a windows service. I have a problem in doing that.
    In command prompt, I typed, sc.exe "Application_na me" binpath = "Applicatio n Path". The service is created.
    I opened services windows and tried starting the service. But the service did not start.
    It showed a error message saying "Error 1053 : The service did not respond to the start or control request in a timely fashion". Can anyone please help me out to fix this problem ??

    Thanks in advance,
    Karthik Baskar.
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    My guess is that your application is a plan old application rather than a service. sc.exe will not turn a normal console application into a service it just does the necessary registry editing to add the application to the list of services in the registry.

    Comment

    Working...