andy_baptiste Posted November 27, 2012 Share Posted November 27, 2012 (edited) 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 Edited November 27, 2012 by andy_baptiste Quote 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 (edited) 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? Edited December 21, 2012 by CPD Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.