Multiple Dispatch Interfaces - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
Most of COM objects implement more than one interface. These interfaces are usually dual interfaces, which means they implement IDispatch as well. If you use such an object from a programming environment that can access IUnknown, all the interfaces are available through the QueryInterface method.   Using the object from scripting (automation) environments (like VBScript) leave you with only one interface - IDispatch.
大多数COM对象接口实现了多个接口。这些接口通常是双向接口,即它们也实现了 IDispatch 。如果你从一个可以访问 IUnknown的编程环境中使用这样的对象,可以通过 QueryInterface 方法使用所有的接口。使用脚本化(自动化)环境(如 VBScript)中的对象只能让你使用一个接口- IDispatch。
来源: http://www.codeguru.com/atl/queryDispatch.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
没有发布任何的软件包! |
|