Fw: Re: [PECL-DEV] A Windows extension
| From: | Frank M. Kromann | Date: | Sat, 08 Nov 2003 00:41:46 +0000 |
| Subject: | Fw: Re: [PECL-DEV] A Windows extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-193@lists.php.net to get a copy of this message | ||
-------- Original mail --------
From: Frank Kromann
To: Wez Furlong <wez@thebrainroom.com>
Subject: Re: [PECL-DEV] A Windows extension
> I have an extension that reads and writes regestry settings. Perhaps we
can integrate the two ?
>
> - Frank
>
> > > I'm about to end an extension that implement several standard Win32
API
> > > function that is useful when using PHP as a Windows scripting
engine.
> >
> > Sounds interesting :-)
> >
> > This can be added to PECL, provided you use a compatible license
> > (check the archives for more on this!).
> > I would suggest using the PHP license.
> >
> > > This extension feature:
> > > - res protocol read/write
> >
> > Using streams?
> >
> > > - PHP thread support (already working - but need improvements)
> >
> > I think that this is a losing battle (PHP just isn't designed
> > to work that way). However, it would be cool if you can get
> > something working. It would be better to have that effort
> > put into the existing PECL threads package rather than a win32
> > extension.
> >
> > > - Any Win32 API function that users needs
> >
> > I have written an ffi extension that will replace the current
> > unmaintained and broken w32api (and also work on many other
platforms).
> > You can then load any win32 api at runtime without the need for
> > (re)compiling and worrying about the versioning of your win32std
> > extension.
> >
> > I don't think it is wise to wrap every win32 API known to man;
> > using something like ffi for those is probably better, unless
> > there is significant demand for having a PHP native version.
> >
> > --Wez.
> >
> > --
> > PECL development discussion Mailing List (http://pecl.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >