|
Posted by Lee Stewart on 06/25/05 01:23
> Just use one of the simpler extensions (like WDDX) that comes with the
> source tarball as a starting point.
That's what I ended up doing - the default skeleton is way too complicated.
Ten minutes of making a new DLL and coping a little source code from other
projects seemed easier than installing awk, etc.
> To create an extension you need to compile PHP first. The process for
> version 5 is incredibly painful on Win32, because of dependency on
> multiple third-party packages. Have fun :-)
Actually, I used the header and lib files from the source tarball, but I
copied the extension DLL into the php5/ext directory and use dl() to load
it - no recompile of any PHP server code. Everything works fine and when
I'm done I'll add my extension to php.ini and make the install permanent.
Now if I can only get the C code to call a COM object...
Thanks for the input,
Lee
Navigation:
[Reply to this message]
|