Page 1 of 1

Invoking functions from a DLL

Posted: Wed Aug 11, 2004 11:06 am
by Negligence
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: 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 work

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

Posted: Fri Aug 13, 2004 3:59 pm
by Negligence
bump... need some help folks ;)

Posted: Fri Aug 13, 2004 4:19 pm
by feyd
I don't think most of us are using Windows for a production server.. Of those that are, probably few are using custom DLL files with COM.. so I'm not sure anyone will be able to help.. give it a few days though.. someone may know..