I am trying to call a COM object and it is creating the object fine and actually calling the function fine, but the functionality is not working and I am wondering if this is a limitation in PHP vs ASP.
$testword = "blahblah";
$int = new COM("MYCOM") or die("Unable to instantiate");
$intres= $int->MyFunction($testword);
print $testword;
unset ($int);
Basically, MyFunction takes in a variable and then re-populates the same variable with the result. If you were to look at the function it would look like:
HRESULT MyFunction( [in, out] VARIANT * pvarLabel, [out, retval] VARIANT * pvarResult );
In the end, it does not appear to be populating the $testword variable. This works fine in VB, ASP, etc... but does PHP not support this?
Thanks.