PHP Extension on Win32
| From: | Emanuel Dejanu | Date: | Thu, 03 Oct 2002 11:28:52 +0000 |
| Subject: | PHP Extension on Win32 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-88969@lists.php.net to get a copy of this message | ||
Hi,
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 :-( ).
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;
};
Best regards,
Emanuel Dejanu