PC Review


Reply
Thread Tools Rate Thread

Re: Register Service

 
 
Dave Patrick
Guest
Posts: n/a
 
      9th Jul 2003
This article may help you.

HOWTO: Create a User-Defined Service
http://support.microsoft.com/support.../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
 
 
 
 
Craig
Guest
Posts: n/a
 
      11th Jul 2003
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" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> This article may help you.
>
> HOWTO: Create a User-Defined Service
> http://support.microsoft.com/support.../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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I register a DLL using a Service? Dave Allen Windows XP Security 0 9th Aug 2005 07:34 PM
register a service Neo Microsoft Windows 2000 CMD Promt 2 10th Dec 2003 08:01 PM
Register DLL as service Craig Ferris Microsoft Windows 2000 0 14th Jul 2003 08:56 AM
Re: Register Service Dave Patrick Microsoft Windows 2000 Registry Archive 2 11th Jul 2003 07:10 AM
Re: Register Service Dave Patrick Microsoft Windows 2000 Registry Archive 0 9th Jul 2003 04:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:52 PM.