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#
  4. Windows Services - Launching an application/DLL

Windows Services - Launching an application/DLL

Scheduled Pinned Locked Moved C#
linuxhelpquestion
2 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.
  • D Offline
    D Offline
    DumpsterJuice
    wrote on last edited by
    #1

    Can anyone help me with this: I have a windows service(Already created) That I want to read app.config, and launch a DLL, (NOT an exe...) This DLL, will also be called by a webpage at some point, which is why we are using a dll, and not an exe... (It is hard to shell an exe from a webpage inside the corp firewall) Any suggestions? Comments? Thanks, Mike

    T 1 Reply Last reply
    0
    • D DumpsterJuice

      Can anyone help me with this: I have a windows service(Already created) That I want to read app.config, and launch a DLL, (NOT an exe...) This DLL, will also be called by a webpage at some point, which is why we are using a dll, and not an exe... (It is hard to shell an exe from a webpage inside the corp firewall) Any suggestions? Comments? Thanks, Mike

      T Offline
      T Offline
      Tom Larsen
      wrote on last edited by
      #2

      What do you mean "launch a DLL"? Assemblies and shared objects contain executable stuff but without a context to run against its pointless. As far as the platform knows, it is just a collection of functions. By itself, there is no execution instructions or order let alone rhyme or reason so how can it ever be launched? The purpose of a "service" is to often do non-"user interactive" tasks so why would you want the service to run anything external? Why not incorportate the functionality inside of the service itself? I suspect you either misunderstand the purpose of the assembly/shared object or you need to provide more information.

      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