Re: [INTERNALS-WIN] win32service patch
| From: | Richard Quadling | Date: | Thu, 23 Jul 2009 21:36:17 +0000 |
| Subject: | Re: [INTERNALS-WIN] win32service patch | ||
| References: | 1 2 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-552@lists.php.net to get a copy of this message | ||
2009/7/23 Pierre Joye <pierre.php@gmail.com>:
> 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] Xs …u
>> øòºÍ=_ü‡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
>
I'm certainly capable of trying, but my C skills are distinctly lacking.
I think for the time being I'd like to remain on the outside of core
and submit patches (until you all get fed up with me).
Richard.
--
-----
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