动态连接库文件(dynamic link library dll)使用比较广,vb,delphi等也常用
但是:1,如果只是一个简单的dll,那么在php中无法得到它的返回值
2:如果它含有com服务的话,可以访问它(前提是它履行IDispatch 接口)
但是:1,如果只是一个简单的dll,那么在php中无法得到它的返回值
2:如果它含有com服务的话,可以访问它(前提是它履行IDispatch 接口)
解决方案 »
- 错误代码 有问题 请帮忙解决 无法输出 在线等待
- 小弟初来乍到,希望各位大哥能帮忙:求一正则表达式:过滤百度搜索结果的。
- if 的问题
- 代码运行在win5.3.13正常 但是在linux5.2.8 中出现syntax error,unexpected T_STRING .
- 新手提问:在php怎样重定向另一个网址.
- 不知道是require 的问题还是服务器的问题!
- 问下,大家在xp下写php用什么版本的php+mysql配置?
- 讨论 PHP 中的程序库.
- 关于数据库的连接问题,新学php请勿在意。
- 为什么MYSQL会发生这个错误?
- 欲求现成正则表达式函数
- 我在安装apache的时候,为什么出现在错误代码,
com是什么:
COM is a technology which allows the reuse of code written in any language (by any language) using a standard calling convention and hiding behind APIs the implementation details such as what machine the Component is stored on and the executable which houses it. It can be thought of as a super Remote Procedure Call (RPC) mechanism with some basic object roots. It separates implementation from interface.
简单的说COM就是一种再利用已有代码的技术。它把php和应用程序连接起来。那么在应用程序中是可能存在dll,所以这个时候就可以使用dll,不过前提是履行IDispatch(这个我不会翻译)接口
那么,怎么在 PHP 里使用自己写的库里的自己的函数呢?
(别告诉我写一个 PHP 脚本,我指的是已编译的库)