PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Registry
Re: Register Service
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Registry
Re: Register Service
![]() |
Re: Register Service |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
This article may help you.
HOWTO: Create a User-Defined Service http://support.microsoft.com/suppor...s/q137/8/90.asp -- Regards, Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft MVP [Windows NT/2000 Operating Systems] "Craig" wrote: > I'm trying to register a Dll as a service on win2000 server. I have already > done the regsvr32.exe c:\myService.ddl etc. > In the services panel in "administrative tools" it will only let me add > services that are exe's but this service is a dll so I guess I need > scvhosr.exe to fire it off or something. > > Any Idea how I can set this service up would be appreciated. > > PS I need to set this Dll up as a service so I can gain access to it via > the IIS server that the machine is running. > > In XP (and I guess 2003) you can just select to create a NT service in the > Component Services Panel and it will do it for you but unfortunately I am > unable to get the client to upgrade ![]() > > -- > Regards > Craig > > |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Thanks David,
that sort of worked, it registered the service but wouldn't run it. It is Ok for an EXE service but the Dll service needs to use the following command C:\winnt\system32\dllhost.exe /ProcessID:{[AppID]} // where AppID represents my Dll And I'm trying to find some information about how to get the AppID for my Dlll "Dave Patrick" <mail@Nospam.DSPatrick.com> wrote in message news:#wPArFcRDHA.3768@tk2msftngp13.phx.gbl... > This article may help you. > > HOWTO: Create a User-Defined Service > http://support.microsoft.com/suppor...s/q137/8/90.asp > > -- > Regards, > > Dave Patrick ....Please no email replies - reply in newsgroup. > Microsoft MVP [Windows NT/2000 Operating Systems] > > "Craig" wrote: > > I'm trying to register a Dll as a service on win2000 server. I have > already > > done the regsvr32.exe c:\myService.ddl etc. > > In the services panel in "administrative tools" it will only let me add > > services that are exe's but this service is a dll so I guess I need > > scvhosr.exe to fire it off or something. > > > > Any Idea how I can set this service up would be appreciated. > > > > PS I need to set this Dll up as a service so I can gain access to it via > > the IIS server that the machine is running. > > > > In XP (and I guess 2003) you can just select to create a NT service in the > > Component Services Panel and it will do it for you but unfortunately I > am > > unable to get the client to upgrade ![]() > > > > -- > > Regards > > Craig > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


