首页 | 本学科首页   官方微博 | 高级检索  
     

用ATL开发异步调用组件
引用本文:古云波. 用ATL开发异步调用组件[J]. 中国测试技术, 2011, 0(6)
作者姓名:古云波
作者单位:上海宝山钢铁股份公司;
摘    要:异步与分布式应用软件系统在工程领域有着广泛的应用,有必要寻找一种快速高效地构筑异步系统的方法,微软的组件对象模型COM可以很好地满足这方面的需要。首先概述开发异步调用组件的意义和工具,以及所涉及到的COM基本概念,包括接口、事件、连接点、线程模型等,并结合一个具体工程实例详述了在Visual C++6.0编程环境下用ATL开发异步调用组件的方法,最后对组件进行了测试并顺利通过,证明了COM开发此类异步应用系统的高效性。

关 键 词:组件对象模型  异步  ATL组件  多线程  

Developing asynchronous component with ATL
GU Yun-bo. Developing asynchronous component with ATL[J]. China Measurement Technology, 2011, 0(6)
Authors:GU Yun-bo
Affiliation:GU Yun-bo(Baoshan Iron and Steel Co.Ltd.,Shanghai 201900,China)
Abstract:Asynchronous and distributed application programs are widely used in engineering,and it is necessary to develop an effective way to construct such systems.The component object model(COM) can meet this demand perfectly.In this article,the mechanism and developing tool of asynchronous COM programming were introduced,along with some essential concepts such as interface,event,connection point,threading mode and so on.Then a factory implementation instance was put forward to illustrate the method of asynchronous...
Keywords:COM  asynchrony  ATL  multithreading  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号