想學com編程,感謝各位賜教,以便可少走彎路!
解决方案 »
- 求文件夹图标资源,需要接收文件过程的动态显示图片
- VC6.0到VC2008移植时,xp样式界面为什么没生成?
- 用vfw函数以压缩方式合并非压缩AVI视频,得到的视频能播放但现实为黑屏,什么原因?
- Bluetooth的server端去WSASetService出错
- MFC新手先到得分!一个写文件的问题!
- 怎么刷新图象-急,100分!
- ADO连接oracle 9i也是采用“Provider=OraOLEDB.Oracle.1;……”?
- 怎么样得到Windows桌面的所在目录啊?
- 求MFC老师!
- 为什么在debug中明明某个double类型变量a的值是123.4,而表达式a==123.4及a>=123.4都返回false?
- 一般的上传工具要用到什么API函数/.
- 求救!串口读写问题
如
Inside Windows 2000 Programming
COM is the fundamental "object model" on which ActiveX Controls and OLE are built. COM allows an object to expose its functionality to other components and to host applications. It defines both how the object exposes itself and how this exposure works across processes and across networks. COM also defines the object's life cycle.Fundamental to COM are these concepts: Interfaces — the mechanism through which an object exposes its functionality.
IUnknown — the basic interface on which all others are based. It implements the reference counting and interface querying mechanisms running through COM.
Reference counting — the technique by which an object (or, strictly, an interface) decides when it is no longer being used and is therefore free to remove itself.
QueryInterface — the method used to query an object for a given interface.
Marshaling — the mechanism that enables objects to be used across thread, process, and network boundaries, allowing for location independence.
Aggregation — a way in which one object can make use of another.
See Also The Component Object Model in the Win32 SDK
and u can get so many relative articles and samples via the link below , FYI: http://www.codeproject.com/com/
Every body:
if you have readed 《COM本质论》 and《深入解析ATL》,please tell me you feeling. I want to buy them.
Thank for every one!
看计算机眼睛是不好受,时间长了就习惯了。
我也初学com,就是这样了
我觉得还是得多看一些有关COM的基础书,如《COM技术内幕》
《COM技术内幕》->《COM原理与应用》-> 《COM本质论》->《深入解析ATL》当然首先C++要过得去
com精彩编程示例(全是例子)
COM本质论(原理)
深入解析ATL
COM技术内幕
com本质论在一定基础上加深理解
com入门与精通也很好。:)
哪里有这些书下载!
我刚刚也开始学COM+了,我有一本书《COM+编程指南》,感觉特好!
介绍给你,希望能帮的上。
希望你能注意我发的帖子,帮我解决一些难题。
呓,怎么没有中国的作者写的书?《COM原理与应用》? 差强人意,既然看了上面的,还有什么必要看潘的书?连潘都说是参照《InsideCOM》来的
www.vckbase.com上有不少好文章,建议学习之前先看看,
有个初步的印象就会事半功倍。