首页 | 官方网站   微博 | 高级检索  
     

COM的自动化技术的研究与应用
引用本文:陈冬怀,高景昌,杨亚红.COM的自动化技术的研究与应用[J].吉林大学学报(信息科学版),2004,22(2):138-142.
作者姓名:陈冬怀  高景昌  杨亚红
作者单位:吉林大学,计算机科学与技术学院,吉林,长春,130026;吉林大学,计算机科学与技术学院,吉林,长春,130026;吉林大学,计算机科学与技术学院,吉林,长春,130026
基金项目:深圳三九股份有限公司资助项目
摘    要:为解决组件的跨语言调用问题,探讨了组件对象模型(COM:Component Object Model)的自动化技术的原理及其实现,并采用自动化技术实现组件的跨语言调用.提出使用DISPID(Dispatch Identifier)编码方案,解决自动化客户访问具有多个接口的自动化组件的问题.以药房管理系统为例,介绍如何用活动模板库(ATL:Activex Template Library)开发核心业务的自动化组件,并用VB实现客户程序,从而实现组件的跨语言调用.使用结果表明,采用自动化技术能较好地解决组件的跨语言调用问题.

关 键 词:组件对象模型  自动化  IDispatch多接口
文章编号:1671-5896(2004)02-0138-05
修稿时间:2003年5月30日

Research and application of COM automation
CHEN Dong-huai,GAO Jing-chang,YANG Ya-hong.Research and application of COM automation[J].Journal of Jilin University:Information Sci Ed,2004,22(2):138-142.
Authors:CHEN Dong-huai  GAO Jing-chang  YANG Ya-hong
Abstract:In order to solve calling problem of component between different languages, theory and implementation of COM(Component Object Model) automation technology are discussed.Automation technology is adopted to solve calling problem of components between different languages. A solution using DISPID(Dispatch Identifier) encoding is adopted to solve the multi-interfaces problem for automation clients access automation components. Taking drugstore management system as an example, how to use ATL(Activex Template Library) to develop automation component of the main business and how to use VB to realize client program are introduced.The calling problem of component between different languages is realized.
Keywords:component object model  automation  IDispatch multi-interface  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号