COM、ATL学习的几本书点评

Essential COM:中级教程

我看的是En版,这种很艰深的书还是看原版的比较不容易走火入魔。作者Don Box现在好像成了.Net大佬,不过该书非常经典,美中不足的是有一些问题没有论述。书的末尾有一个例子,但是每一章没有实例,所以显得艰深。这个例子我没有实现。

 

COM技术内幕:初级教程

只有中文翻译版,初学者可以看懂,基本没有什么内幕,建议看完后(或者不看)直接Essential COM

 

Inside OLE2:高级教程

En版,我看了前10章,后面基本上都讨论ActiveX的概念,看了用不到的话会忘记。年头好像比较久远,Apartment没有论述,其他该讲到的都讲到了,比Essential更加全面。该书有大量例子,可惜都要用到作者自己创造的一个GUI框架,这个框架不比MFC小。我只是做了命令行的实验,涉及到窗体的没有做。

 

Developer's Workshop to COM and ATL 3.0:高级教程

En版,VC6下实现,每一个专题都有例子,我都实现了,有些概念不是太深入。作者Andrew W. Troelsen后来也转投.Net去了,我现在看的另外一本书Pro C# 2005 and the .Net 2.0 Platform也是其作品。

 

ATL.Internals.Working.with.ATL.8:高级教程

En版,VS2005平台,没有例子,概念扣得很细。

 

其它几个不能下载,压缩后重新上传。 Learn how to build sophisticated COM objects using C++ and IDL, as well as how ATL supplies support for several COM procedures. Understanding COM takes time and energy. I can say with great confidence that there is always more to learn. However, as with most technologies, COM does provide a core body of knowledge that works as the backbone for just about everything else. For example, once you understand the building blocks of interfaces, coclasses, class factories, and COM binaries, the foundation is laid for numerous related aspects of COM, such as the ActiveX control, distributed COM, and connectable objects (just to name a few). The relationship between COM and the numerous ActiveX technologies out there can be equated to an understanding of mathematics and the various applied sciences. If you don't understand how to work with basic algebraic equations, you can forget taking classes in physics, chemistry, and biology. The same holds true here: Without an understanding of the algebra of COM, forget the science of ActiveX. Moreover, without an understanding of COM, forget ATL. Once an individual has come to understand the core building blocks of the COM architecture, the next logical step is to adopt a component framework to help lessen the burden of repetitive code. ATL is the C++ developer's COM framework of choice. With ATL by your side, you can successfully spend less time handing out interface pointers and more time concentrating on the domain-specific coding task at hand. However, an ATL developer who does not understand the architecture of COM is no better off than an MFC developer who has no understanding of the central Win32 APIs. This book offers a firm foundation in COM, as well as the ATL framework.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值