PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 Registry Re: Register Service

Reply

Re: Register Service

 
Thread Tools Rate Thread
Old 09-07-2003, 03:25 AM   #1
Dave Patrick
Guest
 
Posts: n/a
Default Re: Register Service


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
>
>



  Reply With Quote
Old 11-07-2003, 06:10 AM   #2
Craig
Guest
 
Posts: n/a
Default Re: Register Service

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
> >
> >

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off