RE: [PHP] Invoking a DLL with PHP
| From: | Jay Blanchard | Date: | Mon, 17 Oct 2005 15:15:58 +0000 |
| Subject: | RE: [PHP] Invoking a DLL with PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-224235@lists.php.net to get a copy of this message | ||
[snip]
The DLL was built specifically with a COM interface which I accessed using
the PHP COM functions (as I'm sure you've seen already). The DLL authors had
to rejig their original code a little, but it was a far
less painful process than compiling the DLL into PHP. However for the next
revision we are likely to move the DLL code into the .NET framework, build a
SOAP interface to it (C#) and let PHP talk to it that way. Although that's
more of a political decision than a technical one, I'm just mentioning it
incase the idea is useful for you.
[/snip]
Unfortunately I may not be able to have the DLL re-built with the COM
interface. It is an older DLL containing engineering functions and it is
huge. The real dingle here is that I only need to access some of the
functionality of the DLL. I also do not want to compile it into PHP as it
(the DLL) is a moving target. This may be one of those projects where I say,
"Give me some more development folks and we'll get it done right." otherwise
we may not be able to do the project as it exists.
I am researching the requirements for adding the COM interface now.