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. ATL / WTL / STL
  4. Services on 98

Services on 98

Scheduled Pinned Locked Moved ATL / WTL / STL
c++sysadminhelpquestion
3 Posts 2 Posters 3 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.
  • N Offline
    N Offline
    Nick Blumhardt
    wrote on last edited by
    #1

    Hi all, I'm undertaking a project that will eventually be run as a DCOM server. I anticipate DCOM for Win98/Me will be involved, but right now what I need to know is whether I can create the app as a service with the ATL wizard and run it as a standard EXE on any Win98 box...? Thanks for any help, NB

    M 1 Reply Last reply
    0
    • N Nick Blumhardt

      Hi all, I'm undertaking a project that will eventually be run as a DCOM server. I anticipate DCOM for Win98/Me will be involved, but right now what I need to know is whether I can create the app as a service with the ATL wizard and run it as a standard EXE on any Win98 box...? Thanks for any help, NB

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Nick Blumhardt wrote: whether I can create the app as a service with the ATL wizard and run it as a standard EXE on any Win98 box...? Nope, 9x does not have services (at least not like the NT concept of services). The most you can do is have the EXE call RegisterServiceProcess(), that way the process will not be killed when the current user logs out. --Mike-- The Internet is a place where absolutely nothing happens.   -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

      N 1 Reply Last reply
      0
      • M Michael Dunn

        Nick Blumhardt wrote: whether I can create the app as a service with the ATL wizard and run it as a standard EXE on any Win98 box...? Nope, 9x does not have services (at least not like the NT concept of services). The most you can do is have the EXE call RegisterServiceProcess(), that way the process will not be killed when the current user logs out. --Mike-- The Internet is a place where absolutely nothing happens.   -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

        N Offline
        N Offline
        Nick Blumhardt
        wrote on last edited by
        #3

        Thanks Mike, Will look into that. Since I posted this message I've decided that I'd definitely have to do some funky conditional compilation so that there was no need to link to StartServiceCtrlDispatcher() etc anyway. Maybe using the new attributed ATL I can simply switch the [module] parameters... we'll see :) Thanks again, Nick

        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