Hi,
I wrote a COM (as DLL) object using C++ and now I would like to access some of the methods from the php script.
I am having troubles doing it.
The name of my COM module is pwd.dll
So, I put it in the same directory as my php file.
And, here is what I have in my php file:
<?
$instance = new COM("GetUserInfo");
$ret = $instance->GetUserInfo("string");
$instance->close();
?>
Where, GetUserInfo is the class name of my COM module.
Unfortunatelly, I it doesn't work and I think I might've missed some steps.
I would really appreciate if someone can help me out.
Thanks,
Leon