I have built a sample dll that just sets string data in the
outparameters. I am able to access the DLL functions from PHP and get
responses when I use the following call:
echo "<b>TestCom Library COM Call</b>";
$TestCom = new COM("TestCom.Se rver") or die("Unable to instanciate
TestCom");
echo "<br/>Loaded TestCom calling Test.";
$TestCom->Test($lOut, $lOut1, $lOut2, $lOut3);
echo "<br/>Output:$lOut , $lOut1, $lOut2, $lOut3";
Output:teststr, teststr1, teststr2, teststr3
When I host this dll in MTS, The output I recieve is .
Output: ,,,
When hosted in MTS, I am able to get the same output if I call the dll
functions from vbscript/VB.
Can anyone help me identify where I am making a mistake, or can anyone
give me any pointers?
Thanks for the help in advance.
outparameters. I am able to access the DLL functions from PHP and get
responses when I use the following call:
echo "<b>TestCom Library COM Call</b>";
$TestCom = new COM("TestCom.Se rver") or die("Unable to instanciate
TestCom");
echo "<br/>Loaded TestCom calling Test.";
$TestCom->Test($lOut, $lOut1, $lOut2, $lOut3);
echo "<br/>Output:$lOut , $lOut1, $lOut2, $lOut3";
Output:teststr, teststr1, teststr2, teststr3
When I host this dll in MTS, The output I recieve is .
Output: ,,,
When hosted in MTS, I am able to get the same output if I call the dll
functions from vbscript/VB.
Can anyone help me identify where I am making a mistake, or can anyone
give me any pointers?
Thanks for the help in advance.
Comment