Re: Using DLL with PHP
| From: | Phpster | Date: | Sat, 07 Feb 2009 02:31:32 +0000 |
| Subject: | Re: Using DLL with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287884@lists.php.net to get a copy of this message | ||
Check out the com [www.php.net/com] functionality
Bastien
Sent from my iPod
On Feb 6, 2009, at 15:58, Dan Shirah <mrsquash2@gmail.com> wrote:
Howdy, I'm looking for a little guidance here. I'm trying to re-write a VB function in PHP. This is the function I'm working with: Private Declare Function DTM_CONVDMSToMultiTIFF Lib "D32_CONV.DLL" _(ByVal FullPathFrom As String, ByVal FullPathTo As String) AsInteger Naturally I would start off with function() from PHP as well and I will also already have my two variables that I need to pass to the DLL: $FullPathFrom = "this\is\my\path"; $FullPathTo = "this\is\my\path"; function DTM_CONVDMSToMultiTIFF ( ) But I am unsure of how I would call and pass the variables to the DLL. I've looked into W32api, but not sure if that's even what I need. Any ideas? Thanks, Dan