Invoking functions from a DLL
Posted: Wed Aug 11, 2004 11:06 am
Hey guys,
How can one invoke a .dll (it has a COM interface) with php? All attempts have been unsuccessful, and there isn't much documentation on the whole process... I need to access it's functions, obviously, so I've been trying this route:
A suitable alternative would be invoking the functions from the dll through the URL, as in;
http://www.mysite.com/MyDLL.dll?do=this
But when you make such an attempt, it asks you to save/open the file; not what I want.
So if anyone could provide some help, I would greatly appreciate it!
Regards,
Scott
How can one invoke a .dll (it has a COM interface) with php? All attempts have been unsuccessful, and there isn't much documentation on the whole process... I need to access it's functions, obviously, so I've been trying this route:
Code: Select all
$test = new COM('file.dll'); // does not work
$test = new COM('program_name.application'); // does not work
$test = new COM('program_name.process_id'); // does not workA suitable alternative would be invoking the functions from the dll through the URL, as in;
http://www.mysite.com/MyDLL.dll?do=this
But when you make such an attempt, it asks you to save/open the file; not what I want.
So if anyone could provide some help, I would greatly appreciate it!
Regards,
Scott