Using DLL with PHP

From: Date: Fri, 06 Feb 2009 20:58:26 +0000
Subject: Using DLL with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-287858@lists.php.net to get a copy of this message
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) As Integer 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

« previous php.general (#287858) next »