Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Is there any retstrictions to make an exe as Service

Is there any retstrictions to make an exe as Service

Scheduled Pinned Locked Moved C / C++ / MFC
helpsysadmintools
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    snprani
    wrote on last edited by
    #1

    HI I have got one doubt. Is there any retstrictions to make an exe as Service. I want to make my Server application exe as Service. That Server application is Dialog based application and it is for Client-server communication. when i am creating Service for this Exe it is creating Service and able to see that service name in Services of Administrative tools. But unable to start it. it is giving error as 1053 : Service didnot respond to the start or control request in timely fashion. Help me. Thanks in Advance

    C B 3 Replies Last reply
    0
    • S snprani

      HI I have got one doubt. Is there any retstrictions to make an exe as Service. I want to make my Server application exe as Service. That Server application is Dialog based application and it is for Client-server communication. when i am creating Service for this Exe it is creating Service and able to see that service name in Services of Administrative tools. But unable to start it. it is giving error as 1053 : Service didnot respond to the start or control request in timely fashion. Help me. Thanks in Advance

      C Offline
      C Offline
      Calc20
      wrote on last edited by
      #2

      How did you create the service? Did you simplly register it?

      1 Reply Last reply
      0
      • S snprani

        HI I have got one doubt. Is there any retstrictions to make an exe as Service. I want to make my Server application exe as Service. That Server application is Dialog based application and it is for Client-server communication. when i am creating Service for this Exe it is creating Service and able to see that service name in Services of Administrative tools. But unable to start it. it is giving error as 1053 : Service didnot respond to the start or control request in timely fashion. Help me. Thanks in Advance

        C Offline
        C Offline
        Calc20
        wrote on last edited by
        #3

        How did you create the service? Did you simplly register it? Have you modified in any way your dialog based server?

        1 Reply Last reply
        0
        • S snprani

          HI I have got one doubt. Is there any retstrictions to make an exe as Service. I want to make my Server application exe as Service. That Server application is Dialog based application and it is for Client-server communication. when i am creating Service for this Exe it is creating Service and able to see that service name in Services of Administrative tools. But unable to start it. it is giving error as 1053 : Service didnot respond to the start or control request in timely fashion. Help me. Thanks in Advance

          B Offline
          B Offline
          Bob Stanneveld
          wrote on last edited by
          #4

          Hello, You mean that you want to convert your dialog based application to be a service? So you have dialogs in you service? If this is the case, don't do it! The reason for this is that services should be able to run without the windows shell. You are restricted to kernel API's mostly. This is because this type of application is able run without any users logged on to the machine. If you use shell API's, your service might crash since those DLL's are not loaded. Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups