Re: PHP Extension on Win32
| From: | Markus Fischer | Date: | Thu, 03 Oct 2002 12:42:38 +0000 |
| Subject: | Re: PHP Extension on Win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88979@lists.php.net to get a copy of this message | ||
On Thu, Oct 03, 2002 at 01:28:52PM +0200, Emanuel Dejanu wrote :
> I want to make a DLL private (closed source)
> to be available in PHP language.
> Is there any documentation on how to build a
> custom module for PHP on Windows? I have developed
> modules for PHP on Linux (closed source :-( ).
Try http://www.php.net/manual/en/zend.php
for a start.
>
> Also my DLL has 10 enumerations out of which 2 enumerations
> have ~500 elemenents. What is the best way to export
> these enumerations in PHP?
> I have been thinking about two solutions:
> 1) definitions, e.g. define('kSSSSSXXXX', 1)
> 2) classes, e.g.
>
> class SSSSS {
> var $kXXXX = 1;
> };
I think this depends upon you and the needs you try to
satisfy with your extension.
--
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
<rei_> Derick, while ($xml) $ass->get_new_ideas();
<[James]> Markus: IE on_user_fart()????
-- People doesn't seem to like the new XHTML2 specs :) --