Hi All,
Just would like to know if you can call DLL from PHP the same way you do in ASP? If so then can any one pass me some example or links.
Thanks.
Danial
Printable View
Hi All,
Just would like to know if you can call DLL from PHP the same way you do in ASP? If so then can any one pass me some example or links.
Thanks.
Danial
You can call a PHP extension in DLL form from the extension folder using the dl() function.
That's all I know of.
Hobo,Quote:
Originally posted by The Hobo
You can call a PHP extension in DLL form from the extension folder using the dl() function.
That's all I know of.
Thanks for your link. It looks like PHP version 4.2 and above seem to support calliing DLL, if this example (http://php.weblogs.com/discuss/msgReader$1481?mode=topic) is correct then i can call any dll(they seem to be calling windows API). Some mentioned that i can only use COM dll or something like that.
I am not a PHP programmer just need to add some low level functinality to a php project. Just want to make it clear, if any dll can be used or certain dll with special interface must be used. Would a DLL(ActiveX DLL) written in VB work? Or must i write it in C++
Thanks.
Danial
Thanks
You can try the PHP COM functions to see if you can get the VB DLL to work. It should work, but you know how it is...