Reply to Re: Coding a PHP5 extension with Visual Studio .NET

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация