摘要
MFC和 ATL代表了两种框架 ,分别面向不同类型的基于 Windows的开发。MFC代表了创建独立的 Windows应用的一种简单、一致的方法 ;ATL提供了一种框架来实现创建 COM客户机和服务器所必须的样板文件代码。本文将在比较的基础上分析这两种框架是如何用于创建 COM组件的 ,并突出其优缺点 ,说明如何决定何时使用一种框架 ,何时使用另一种。
The two approaches for creating COM object which is the main technology of OPC are presented, The two framework MFC and ATL are comparatively analyzed and which are proper to create COM object, The MFC and ATL represent two framework,which used for developing different type of Windows application. The MFC represents a simple and consistent method to create Windows application:The ATL represents a framework to realize template file code for creating COM client/server.Each advantage and disadvantage respectively are point for determining to use which framework correctly.
出处
《现代电力》
2002年第2期50-55,共6页
Modern Electric Power