摘要
ActiveX控件的事件(event)模型采用的是COM对象的连接点机制来实现,COM对象也使用连接点请求客户执行一个服务,本文分析了实现连接点的接口,通过一个简单例子说明可连接对象与客户之间的相互交互作用。
ActiveX controls use the connection point mechanism of COM object to realize the events model, COM objects sometimes use connection points to request that the client perform a service. This paper analyzes the interfaces to realize the connection points and illustrates the interaction between the connectable object and the client with a simple example.
出处
《教学与科技》
2010年第2期22-25,共4页
Teaching and Science Technology
关键词
连接点
事件
源接口
接受对象
connection point
event
source interface
sink object