Page 1 of 1

calling DLL file

Posted: Mon Jul 16, 2007 6:29 am
by pcoder
Hi
Is it possible to call our own DLL file from PHP?

Regards
Ratna

Posted: Mon Jul 16, 2007 6:33 am
by feyd
That depends on the DLL. Without any special compilation, not likely. PHP wants certain hooks accessible to load it as an extension. If the DLL registers COM components and you have the COM extensions for PHP loaded, that's an alternate..

Posted: Mon Jul 16, 2007 6:46 am
by volka
You might also be interested in http://netevil.org/blog/2004/jan/ffi-is-here