Recommend a good book on COM
-
Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..
-
Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..
http://www.codeproject.com/scrapbook/referencebooks.asp[^]
Jon Sagara
A bottle a night isn't alcoholism - it's persistence! -- A coworker, jokingly -
Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..
I probably learnt most from Essential COM by Don Box. If you are doing COM with ATL (recommended), then I found 'Beginning Atl Com Programming' by Richard Grimes to be a good starting point. Of course this was a few years ago so there may be better and more up-to-date books. ATL Internals by Rector and Sells, is also a good read. Although probably not the best place for a beginner to start. Michael 'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879
-
Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..
I don't regard this as a beginners book per se, but I still think it's one of the best there is no matter what level you are at: Transactional COM+
-
Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..
I have "The COM and COM+ Programming Primer", and "Inside COM". Both are average. Not bad, but not that great either. But why are you doing anything in COM anyway? :-D And if you are trying to find info on some of the DCOM flaws in order to write a virus or exploit them, I doubt these books have the answers. :-D :-D :-D If your nose runs and your feet smell, then you're built upside down.
-
I have "The COM and COM+ Programming Primer", and "Inside COM". Both are average. Not bad, but not that great either. But why are you doing anything in COM anyway? :-D And if you are trying to find info on some of the DCOM flaws in order to write a virus or exploit them, I doubt these books have the answers. :-D :-D :-D If your nose runs and your feet smell, then you're built upside down.
Well apart from learning the COM technology for personal knowledge, I want to learn to use it because I want to speech enable some apps I have and MS just released their Speech SDK version 5 that has a COM interface that I would need to use ..:: Keno ::..
-
Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..
I learned COM from Inside OLE, but that's out of print. I think that Essential COM is good too, but I've never read it.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi -
Greets all, I want to learn about COM using C++. Could you give some good recommendations on resources and books that I can start with? ..:: Keno ::..
Here are the books that I use: For COM beginners: "Developer's Workshop to COM and ATL 3.0" (first choice, learn COM fundamentals) "The COM and COM+ Programming Primer" (second choice, has COM+ stuff too) For experienced COM programmers: "Essential COM" by Don Box (a.k.a. COM bible, seems dated now, no ATL stuff) "Effective COM" (some useful tips, not for beginners) Although there are no good books for ATL 7.x, I highly recommend using Visual Studio .NET 2003 (with ATL 7.1) so you can take advantage of attributed programming and all of the great wizards. If you're going to use connection points, there are some attributes ([event_source], [event_receiver]) that make it very easy to implement. If you're new to C++ attributes, the learning curve is worth it. Good luck, Jerry
-
Here are the books that I use: For COM beginners: "Developer's Workshop to COM and ATL 3.0" (first choice, learn COM fundamentals) "The COM and COM+ Programming Primer" (second choice, has COM+ stuff too) For experienced COM programmers: "Essential COM" by Don Box (a.k.a. COM bible, seems dated now, no ATL stuff) "Effective COM" (some useful tips, not for beginners) Although there are no good books for ATL 7.x, I highly recommend using Visual Studio .NET 2003 (with ATL 7.1) so you can take advantage of attributed programming and all of the great wizards. If you're going to use connection points, there are some attributes ([event_source], [event_receiver]) that make it very easy to implement. If you're new to C++ attributes, the learning curve is worth it. Good luck, Jerry
Nice breakdown! I have never used COM before and am going to start now. So I'd really like to get a good book on the foundation of COM so that anything built on it in the future will be easy to learn. Based on the recommendations and reviews I've read of the ones you guys have pointed out, I will be purchasing "Essential COM" and another. The second I've not decided on yet. i'm going to check out your recommendation of "Developer's Workshop to COM and ATL 3.0". Thanks again! ..:: Keno ::..
-
Nice breakdown! I have never used COM before and am going to start now. So I'd really like to get a good book on the foundation of COM so that anything built on it in the future will be easy to learn. Based on the recommendations and reviews I've read of the ones you guys have pointed out, I will be purchasing "Essential COM" and another. The second I've not decided on yet. i'm going to check out your recommendation of "Developer's Workshop to COM and ATL 3.0". Thanks again! ..:: Keno ::..
I personally don't recommend the "Essential COM" book for beginners. Wait until you've had time to read and absorb other books and on-line documentation. If you wanted to develop a COM object from scratch in C or C++ w/o using ATL (3.0 or 7.x), then that book would still be my second/third choice. I actually bought a used copy since I thought it would be useful to debug some tough problems (like apartment threading models and memory allocations) and to describe the architecture and fundamentals of COM programming. The book didn't help much and I debugged the problem by reading a lot of MSDN documentation and then calling Microsoft tech support (MSDN incident). Now that I have the "Essential COM" book, I rarely use it as a reference since I use ATL so extensively. If you're like me, I like to have a solid understanding of the fundamentals so the "Developers Workshop" book is a good choice. But with ATL, most of the COM 'plumbing' details are taken care of (and you have all of the source code in .h and .inl files). What tools are you using? Visual Studio/C++ 6.0 or .NET? If you're using .NET, I can send you a few tips to help with your learning curve. Jerry
-
I personally don't recommend the "Essential COM" book for beginners. Wait until you've had time to read and absorb other books and on-line documentation. If you wanted to develop a COM object from scratch in C or C++ w/o using ATL (3.0 or 7.x), then that book would still be my second/third choice. I actually bought a used copy since I thought it would be useful to debug some tough problems (like apartment threading models and memory allocations) and to describe the architecture and fundamentals of COM programming. The book didn't help much and I debugged the problem by reading a lot of MSDN documentation and then calling Microsoft tech support (MSDN incident). Now that I have the "Essential COM" book, I rarely use it as a reference since I use ATL so extensively. If you're like me, I like to have a solid understanding of the fundamentals so the "Developers Workshop" book is a good choice. But with ATL, most of the COM 'plumbing' details are taken care of (and you have all of the source code in .h and .inl files). What tools are you using? Visual Studio/C++ 6.0 or .NET? If you're using .NET, I can send you a few tips to help with your learning curve. Jerry
I'll be using both tools actually. We are alike in our pursuit for understanding the fundamentals as it's how I learn best so even though ATL sounds like it does alot for the developer, I can tell you that I will want to know how to do it myself if needs be. It will help me debug better too :) I'd appreciate those tips alot dude! Do you know of any good online outlets for technical books apart from www.bookpool.com? ..:: Keno ::..