Re: C++ dll files
| From: | Brian 'Bex' Huff | Date: | Tue, 26 Nov 2002 15:50:47 +0000 |
| Subject: | Re: C++ dll files | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17139@lists.php.net to get a copy of this message | ||
this is a common question... it should be in a FAQ somewhere...
The most flexible option is the win32 API functions, but note that they are experimental, and sometimes hard to set up and use, but pretty dang cool:
http://www.php.net/manual/en/ref.w32api.php
The most stable solution (definately not the fastest) is to write a C++ command line application as a wrapper for your DLL, and then make calls to it with 'system' or 'exec'. Rock solid.
--
Brian 'Bex' Huff
bex@stellent.com
Phone: 952-903-2023
Fax: 952-829-5424
> Hello Everybody,
>
> Can PHP call a DLL file? If so, do you know where I might be able to
> find an example?
>
> Thanks Again,
> Brennan
>
>