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 :) --

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to