andy_baptiste Posted November 27, 2012 Share Posted November 27, 2012 Hi, I've been asked to update some existing PHP to use a DELPHI produced DLL in place of it's existing Data access code. What I've tried so far: Using COM, but I keep getting errors about an Unknown Interface that I have failed to get to the bottom of. Using Delphi4PHP to create a DLL PHP extention, but when using this it caused Apache to crash altogether. Has anyone successfully achieved communication with a Delphi produced DLL from within PHP? Many thanks Andy Link to comment https://forums.phpfreaks.com/topic/271257-calling-a-delphi-dll-from-php/ Share on other sites More sharing options...
cpd Posted December 21, 2012 Share Posted December 21, 2012 As long as its a valid dll file you should be able to import it fine. The fact its made in Delphi is irrelevant as you've compiled for Windows. Assuming the dll is registered on the PC/Server you're using you should be able to import it. Silly question: Are you running Windows or Linux? Link to comment https://forums.phpfreaks.com/topic/271257-calling-a-delphi-dll-from-php/#findComment-1400735 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.