Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 843
  • Last Modified:

using DLL within PHP??

Hi,

I have a DLL which I want to use within PHP, so I want to use the functions of this DLL in my PHP-scripts. Unfortunately I can not find out how to use a DLL (Win32) with PHP.

Ideas?

Dave
0
delphiheaven
Asked:
delphiheaven
  • 2
1 Solution
 
AmeristCommented:
You'd have to recompile PHP on your windows machine and let it know that the DLL was there to be used.  I'm not sure how to go about that, but that's pretty what needs to happen.
0
 
VGRCommented:
LoadModule in httpd.conf if your DLL is in SAPI format
AFAIK
0
 
AmeristCommented:
Here's a quote from http://www.php.net/manual/tw/faq.com.php#faq.com.q1



"If this is a simple DLL there is no way yet to run it from PHP. If the DLL contains a COM server you may be able to access it if it implements the IDispatch interface."
0
 
snoyes_jwCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
    Accept: Amerist {http:#8141894}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

snoyes_jw
EE Cleanup Volunteer
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now