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:
Code:
$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 work
A suitable alternative would be invoking the functions from the dll through the URL, as in;
www.mysite.com/MyDLL.dll?do=this
I've been through the COM class (no luck), the W32API extension (also no luck), and losing faith if this is even possible. And all I need to do is call a few functions from the third-party .dll, and I'm good to go...
So if anyone could provide some help, I would greatly appreciate it!
Regards,
Scott