期刊文献+

基于MFC库的C++自动化客户程序的实现 被引量:3

Realization of C++ automation client application based on MFC
下载PDF
导出
摘要 介绍了利用automation技术基于MFC库开发C++自动化客户程序;指明了自动化客户端和组件端的IDispatch接口通讯的实现;阐述了利用Microsoftword录制宏以得到VBA代码,并完成VBA到C++的转化。应用结果表明,利用该方法只需编写少量代码,便可在自主开发的应用程序中融入Microsoftoffice的强大功能,从而实现应用程序复杂的自动化文本、数据处理功能。 This paper introduced how to realize C++ automation client application based on MFC, pointed out how to communicate between the automation client and the server through the IDispatch interface, and it explained how to record the macro to get the VBA code by using Microsoft word application and finish the translation from VBA to C++. The application result shows that with this method, the powerful function of Microsoft office can be embedded into the application developed by ourselves by a few codes. So the complex function of automatic text and data processing can be realized.
出处 《解放军理工大学学报(自然科学版)》 EI 2005年第4期334-336,共3页 Journal of PLA University of Science and Technology(Natural Science Edition)
关键词 自动化 自动化客户/组件 IDispatch接口 组件对象模型 微软基本类库(MFC) automation automation client/server IDispatch interface COM MFC
  • 相关文献

参考文献6

  • 1TURNERL.COM+自动化编程[M].北京:机械工业出版社,2002..
  • 2LORIT.Automating microsoft office 97 and office 2000[M].西雅图:微软公司,2000..
  • 3JEFFP.MFCWindows程序设计[M](第2版)[M].北京:清华大学出版社,2002..
  • 4DAVIDJK 朱继满 蒋方帅 译.VisualC++技术内幕[M].北京:北京希望电子出版社,1999..
  • 5ERICB ANTHONYP DAVIDR 王建华 陈一飞 吴炳林 译.VisualBasic6 开发人员指南[M].北京:机械工业出版社,西蒙与舒斯特国际出版公司,1999..
  • 6HARRISM 齐舒创作室 译.Visualbasicforapplication5开发人员指南[M].北京:机械工业出版社,1998..

同被引文献11

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部