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. Other Discussions
  3. IT & Infrastructure
  4. Starting programs as a service

Starting programs as a service

Scheduled Pinned Locked Moved IT & Infrastructure
helpquestionworkspace
4 Posts 2 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Have found XYNTService, but where can you find out something that describes in detail the issues of running a program as a service, environment, pathing, issues? There used to also be a thing SRVANY. Any help appreciated. Thanks:)

    C L 2 Replies Last reply
    0
    • L Lost User

      Have found XYNTService, but where can you find out something that describes in detail the issues of running a program as a service, environment, pathing, issues? There used to also be a thing SRVANY. Any help appreciated. Thanks:)

      C Offline
      C Offline
      Carlos Antollini
      wrote on last edited by
      #2

      You can not run a program like a really service, you need the sources of the app for make that, and write a really service. But you have a trick, you can make a service that lunch programs, and kill the apps when you shutdown the service that manage the app... Do you Understand? ;););) Regards!!! Carlos Antollini. Sonork ID 100.10529 cantollini

      L 1 Reply Last reply
      0
      • L Lost User

        Have found XYNTService, but where can you find out something that describes in detail the issues of running a program as a service, environment, pathing, issues? There used to also be a thing SRVANY. Any help appreciated. Thanks:)

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        As far as I know, the common problems of using XYNTService to run other programs are: 1. Some resources are not available when the service is started (nobody is logged in). For example, if your program is accessing a mapped network drive which doesn't exist when the service is starting. 2. The service is running under the local system account by default. Using this account, the program started by the service cannot access a regular users' resources (registry settings, etc.). However, you can reconfigure the service to run under a different user account with proper permissions. 3. The program started by the service crashes due to its own bugs, this is the hardest problem to figure out and there is not much you can do unless you have the source code of the program.

        1 Reply Last reply
        0
        • C Carlos Antollini

          You can not run a program like a really service, you need the sources of the app for make that, and write a really service. But you have a trick, you can make a service that lunch programs, and kill the apps when you shutdown the service that manage the app... Do you Understand? ;););) Regards!!! Carlos Antollini. Sonork ID 100.10529 cantollini

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          "But you have a trick, you can make a service that lunch programs, and kill the apps when you shutdown the service that manage the app... Do you Understand?" XYNTService does all these and more so that you don't need to write a real service (most of the times). :)

          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