Services on 98
-
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
-
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
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 -
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_HelmThanks 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