RE: [PHP] Invoking a DLL with PHP

2005-10-18 Thread Jay Blanchard
[snip] [snip] You can build your own dll -or use that older dll as you say-, assuming it have exported the necessary functions and calling them using the php_w32api extension, just register necessary types, functions and you're ready to go, without any kind of recompilation of php or any dll s

RE: [PHP] Invoking a DLL with PHP

2005-10-18 Thread Jay Blanchard
[snip] You can build your own dll -or use that older dll as you say-, assuming it have exported the necessary functions and calling them using the php_w32api extension, just register necessary types, functions and you're ready to go, without any kind of recompilation of php or any dll static li

Re: [PHP] Invoking a DLL with PHP

2005-10-17 Thread Gonzalo Monzón
Richard Davey escribió: Hi Jay, Monday, October 17, 2005, 4:15:58 PM, you wrote: 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 t

Re[2]: [PHP] Invoking a DLL with PHP

2005-10-17 Thread Richard Davey
Hi Jay, Monday, October 17, 2005, 4:15:58 PM, you wrote: > 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

RE: [PHP] Invoking a DLL with PHP

2005-10-17 Thread Jay Blanchard
[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

Re: [PHP] Invoking a DLL with PHP

2005-10-17 Thread Richard Davey
Hi Jay, Monday, October 17, 2005, 3:20:58 PM, you wrote: > Does anyone have any insight to this type of process? Would I have > to build a PHP extension and compile the DLL as part of PHP's > configuration? Ideally the DLL would be a black box that could be > accessed utilizing functions that I b

[PHP] Invoking a DLL with PHP

2005-10-17 Thread Jay Blanchard
Good morning gurus and gurettes! I have been asked (and I think that we may have discussed this before in general terms, a long time ago) to perform the preliminary analysis on a project that ideally would have me invoking an existing .DLL using PHP. I have been googling for tidbits for several da