ATL VS MFC
来源:互联网 发布:nginx tcp lua 编辑:程序博客网 时间:2024/06/05 19:49
ATL vs. MFC
In a way, ATL is to COM what MFC is to the Windows API. The goal of ATL is to provide a thin but effective wrapper around the most common COM interfaces without sacrificing component performance. Despite this similarity, however, the designs of MFC and ATL differ in several key ways:
- MFC contains an interconnected hierarchy of classes, whereas ATL is a set of disjoint templates. This difference means that with ATL you don't pay the size/speed penalty for a given feature unless your component actually uses it.
- MFC is linked to a project as a static library or a DLL, but ATL is compiled as source code. Because there are no OBJ files to link to, ATL requires no run-time DLL redistribution.1
- MFC supports a single-inheritance model, whereas the functionality of an ATL component depends entirely on the use of multiple inheritance. Specifically, a component that supports several different COM interfaces will inherit from several different associated ATL templates.
- Over time, MFC has grown considerably. As the expectations placed on Windows applications have increased, so have the size and feature set of MFC. Although a similar progression is likely as the use of ATL becomes more prevalent, ATL's use of templates rather than regular inheritance will almost assuredly prevent class proliferation.
- ATL VS MFC
- mfc 插入 atl对象
- ATL 和 MFC 版本号
- atl wtl mfc
- MFC ATL STL
- MFC,ATL,CLR简介
- ATL/MFC CImage
- ATL/CLR/MFC/Win32
- MFC和ATL
- MFC&ATL&STL比较
- MFC 、ATL、 CLR简介
- ATL 和 MFC 版本号
- MFC&ATL&STL比较
- 关于MFC和ATL
- MFC&ATL&STL比较
- MFC&ATL&STL比较
- MFC&ATL&STL比较
- atl和mfc
- Dundas Win Chart 5.5.0的破解...
- 索引的基本原理以及数据是如何被访问的
- Silverlight 2 RTW开发者工具
- 出现:ASP.NET Development Server未能开始侦听端口1757.错误信息
- liunx本操作命令:
- ATL VS MFC
- java实现URL重写的三种方法
- “单击以激活并使用此控件”的解决方案
- 保证程序只运行一个实例(delphi)
- 判断浏览器的COOKIE是否关闭
- words
- Silverlight 2.0 新书推荐
- vs2008和vs2005同时安装将会发生的小问题
- 数据库设计经验之谈(转载)