Reply to PHP and DLL loaded into MTS: not working

Your name:

Reply:


Posted by Sethuraman.Harish on 01/23/07 13:58

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.Server") 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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация