Re: [INTERNALS-WIN] win32service patch
| From: | Pierre Joye | Date: | Thu, 23 Jul 2009 17:09:57 +0000 |
| Subject: | Re: [INTERNALS-WIN] win32service patch | ||
| References: | 1 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-551@lists.php.net to get a copy of this message | ||
hi Richard,
Would you like to give win32service some love (in the long run)?
Cheers,
On Thu, Jul 23, 2009 at 4:37 PM, Richard
Quadling<rquadling@googlemail.com> wrote:
> Hi.
>
> I've got my windows build working at last (thanks to Pierre - yep you
> can blame him!).
>
> The win32_service extension allows for a description to be supplied
> when registering the service, but currently there is no support for
> this in the code.
>
> The supplied patch allows the description to be registered.
>
> Help was gathered from 'ChangeServiceConfig2 Function' [1] and
> 'Changing a Service's Configuration' [2]
>
> The patch also allows you to create services which are not run
> automatically (WIN32_SERVICE_DEMAND_START for example).
>
> Help was gathered from 'CreateService Function' [3].
>
> Regards,
>
> Richard Quadling.
>
> [1]
> http://msdn.microsoft.com/en-us/library/ms681988(VS.85).aspx
> [2]
> http://msdn.microsoft.com/en-us/library/ms682006(VS.85).aspx
> [3]
> http://msdn.microsoft.com/en-us/library/ms682450(VS.85).aspx
> --
> -----
> Richard Quadling
> Zend Certified Engineer :
> http://zend.com/zce.php?c=ZEND002498&r=213474731
> "Standing on the shoulders of some very clever giants!"
> ZOPA : http://uk.zopa.com/member/RQuadling
>
> --
> Windows Internals Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org