Click here to Skip to main content
15,886,074 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I load a COM file in php. I want call a function of COM by reference.
I use this:
$input="this is a test";
$my_dll = new COM("Tra.myClass.1");
$my_com->testFunction($input, &$output);

but in output is empty.
How can I do?
Posted
Updated 1-Jan-11 22:46pm
v2
Comments
TweakBird 2-Jan-11 4:46am    
Use <pre> tag for code blocks.

1 solution

Do you by chance have to do add the first line shown below?

PHP
$output = "";

$input="this is a test";
$my_dll = new COM("Tra.myClass.1");
$my_com->testFunction($input, &$output);


 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900