COM高手

snowhust 2000-03-04 04:05:00
请指导一下学习COM的方法!!我给100分;
...全文
381 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
kelvin 2000-03-17
  • 打赏
  • 举报
回复
OOH! I DON'T WANT TO TALK ABOUT THIS TOPIC ANY MORE!

NO SCORES FOR ME.

PLEASE LINK TO http://www.midatech.com/csdn/expert/TopicView.asp?id=1037

AND YOU WILL FIND THE REASON WHY I FEEL BORED.
Xiao 2000-03-16
  • 打赏
  • 举报
回复
Agree with GoldenLion. His suggestions are very good. Why no points given to him?
Truman 2000-03-06
  • 打赏
  • 举报
回复
COM原理与应用》清华大学出版 潘爱民著 深入浅出.not bad!
TComponent 2000-03-06
  • 打赏
  • 举报
回复
还有一本书<<COM技术内幕>>
也挺不错的
kelvin 2000-03-06
  • 打赏
  • 举报
回复
There is a book in MSDN, "Inside OLE2".
It's Marvelous.It's really a good book to learn COM and OLE.
Its sample codes can be found at Microsoft WIN32 SDK.(mstools\samples\ole\inole2\)

MFC and ATL is not fit for beginers.
softdoctor 2000-03-06
  • 打赏
  • 举报
回复
建议先用MFC或ATL写几个控件或COM对象,
方法很简单,用MFC AppWizard或Atl COM
wizard创建工程。然后添加对象、属性、方法
再仔细研究一下这些代码及注册表的变化,
对OLE先有一些概念性的了解。最后找几本书
肯一肯。
建议书籍:《VC++5 ACTIVEX 编程指南》、
《COM/DCOM编程指南》、《COM原理与应用》
这些书在海淀图书城很容易找到。

另外建议对MFC COleDispatchDriver 类的源
文件仔细研究一下。
GoldenLion 2000-03-04
  • 打赏
  • 举报
回复
以下是COM宗师Don Box的建议:
我觉得最好的方法是先找入门书,如<<COM原理与应用>>,再看<<Essential COM>>(MSDN中有最重要的也是最艰深的第五章:appartment和第七章,再MSDN中的technical artical和实作时的ATL看一下,这时就已经是COM高手了,如能再每月看一下Microsoft System Journal中Don Box的专栏,在国内就已是COM精英,如再加上COM+,MSMQ的能力,就已有国际水平了--国内的够档次的研发书籍和公司都太少了,如果国内能有侯捷这样的作家, 唉...

Here's some advice for folks working in COM:

1.Be a skeptic. Anything you read may be wrong or out of date (including this).
2.Learn everything you can about COM IDL.
3.Read the COM spec once a quarter.
4.Read Essential COM and find an error that is not on the errata page.
5.Read Effective COM and find an item you disagree with.
6.Read Ted Pattison's book and marvel at how much easier it is to read than anything I've ever written.
7.Read the DCOM list archives and only submit new or unanswered questions to the list.
8.Read the Java/COM list archives to feel nostalgic for when the DCOM list only had 500 or so subscribers.
9.Be careful with your language. In particular, don't confuse object and class.
10.Reinvent your understanding of apartments and context every six months.
11.Learn as much as you can about Java. It's another component model that will help you understand COM.
12.Learn as much as you can about CORBA and RMI. These are two other ORPC technologies that will help you understand COM.
13.Learn as much as you can about Enterprise Java Beans. This is another transactional object system that will help you understand MTS and COM+.
14.Learn as much as you can about MSMQ. This is a very useful protocol/technology.
15.Learn as much as you can about XML. This is another very useful protocol/technology.
16.Use the ATL Class Wizard to generate a DHTML control and check out how it works.
GoldenLion 2000-03-04
  • 打赏
  • 举报
回复
1. MSDN--technical article, background, COM SDK, ATL
2. <<Essential COM>> by Don Box
3. Read tech about COM+, MSMQ, XML, CORBA
liu_z_j 2000-03-04
  • 打赏
  • 举报
回复
看看《COM原理与应用》写的非常好!我也正在学。希望我们能共同提高。
SoftDIY 2000-03-04
  • 打赏
  • 举报
回复
www.codetools.com中关于com(by c lung)的文档也很不错
Un1 2000-03-04
  • 打赏
  • 举报
回复
MSDN\平台SDK\COM and ActiveX Object Service\COM\COM Tutorial Samples很详细。

16,466

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧