User Tag List

Results 1 to 3 of 3

Thread: Run EXE as a service

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Run EXE as a service

    I just tried adding my server as a service but XP says it didn't respond in a timely manner when I started it
    >>sc.exe create "Chat Server" binPath= "c:\windows\fcserver.exe"
    >>[SC] CreateService SUCCESS
    >>sc.exe start "Chat Server"
    >>[SC] StartService FAILED 1053:
    >>The service did not respond to the start or control request in a timely fashion.

    Can someone explain how/if this can be fixed?

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Run EXE as a service

    You need to send data via a pipe to the service controller. There should be info on google or you can take a look at the apache source code and it should be there somewhere
    EDIT: Here;
    http://support.microsoft.com/kb/839174
    http://msdn2.microsoft.com/en-us/library/aa983583(VS.71).aspx

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Run EXE as a service

    OK it appears that I have to use ezSvc.exe to run the application as a service. I'm not too happy about doing this so has anyone got any other ideas?

Similar Threads

  1. How do I register a service?
    By ArtKing in forum Install Creator and Patch Maker
    Replies: 3
    Last Post: 6th December 2008, 08:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •