PHP引述COM对象例子 PHP引用DLL方法

WBOY
Release: 2016-06-13 11:00:26
Original
991 people have browsed it

PHP引用COM对象例子 PHP引用DLL方法

一:编译生成p_test.dll文件

二:注册

提示符下运行:regsvr32?p_test.dll

三:编写php文件,test.php4代码如下:

$b=new COM(“p_test.c_test”);

$a=$b->Test_Number(-454);

echo?$a;

?>

1 楼 zjsunshine 2011-08-15  
new COM(“p_test.c_test”);


.c_test 这里怎么理解?
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template