calling DLL file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pcoder
Forum Contributor
Posts: 230
Joined: Fri Nov 03, 2006 5:19 am

calling DLL file

Post by pcoder »

Hi
Is it possible to call our own DLL file from PHP?

Regards
Ratna
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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..
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

You might also be interested in http://netevil.org/blog/2004/jan/ffi-is-here
Post Reply