如何通过引用调用COM(组件对象模型)的函数? [英] How to call a function of COM(component Object Model) by reference?
本文介绍了如何通过引用调用COM(组件对象模型)的函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我在php中加载一个COM文件.我想通过引用调用COM函数.
我用这个:
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?
推荐答案
input =这是一个测试";
input="this is a test";
my_dll = new COM("Tra. myClass.1);
my_dll = new COM("Tra.myClass.1");
my_com-> testFunction(
my_com->testFunction(
这篇关于如何通过引用调用COM(组件对象模型)的函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文