Re: Using DLL with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check out the com [www.php.net/com] functionality

Bastien

Sent from my iPod

On Feb 6, 2009, at 15:58, Dan Shirah <mrsquash2@xxxxxxxxx> 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) 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux