Essential COM Paperback – Illustrated, Dec 22 1997
Frequently bought together
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
To get the free app, enter your mobile phone number.
- Publisher : Addison-Wesley Professional; 1st edition (Dec 22 1997)
- Language : English
- Paperback : 464 pages
- ISBN-10 : 0201634465
- ISBN-13 : 978-0201634464
- Item weight : 776 g
- Dimensions : 2.79 x 18.54 x 22.61 cm
- Best Sellers Rank: #458,618 in Books (See Top 100 in Books)
- Customer Reviews:
Endorsed by object-orientation guru Grady Booch and Microsoft COM expert Charlie Kindel, Box's book takes the reader from an elucidating discussion of why a demand exists for COM and how it fits into the progression of C++ technology to a cool exhibition of some COM programs he's written. Along the way, Box covers the four corners of COM interfaces, classes, apartments, and security--all explained in developer's detail. He also gives attention to access control, marshaling, and Distributed COM (DCOM). Essential COM isn't an application programming interface (API) reference; it is an exploration of the Tao of COM. As the author says in his preface, you will figure out the how of COM programming quickly, as soon as you grasp the why.
Starting from the progressive definition of an informal set of requirements for modular software architectures, the first chapter of Essential COM highlights how, by itself, the C++ language is not capable of satisfying many of them, even when associated with DLLs. Several possible design alternatives are then evaluated, and the final decision leads to the rough engineering of COM. This is perhaps the most vaporware-free introduction to the subject I have ever read because it explains through facts and not conjecture how and why the C++ object model maps well to COM... As the book proceeds, more and more room is given to complex technical issues and useful (while not trivial) COM programming idioms, such as tear-off interfaces for saving memory as the number of interfaces climbs significantly but not all of them happen to be constantly in use. In all cases the solutions make use of only the raw COM API and interfaces at the C++ level. Neither the theory, nor any of the numerous code snippets sprinkled throughout in the book, mention high-level frameworks such as ATL or MFC. The dissertation on multithreading issues and marshaling are very detailed and betray the vast experience of the author in the implementation of nontrivial COM systems. --Davide Marcato, Dr. Dobb's Journal -- Dr. Dobb's Journal
Top reviews from Canada
There was a problem filtering reviews right now. Please try again later.
This book continues on where many others left off. It digs deep down and explores the areas that are ESSENTIAL to your understanding of COM's intricacies. Many insights given in this book are rare, and you probably won't find it elsewhere. If you are already familiar with COM, here is a book that surprisingly still intrigue you on the subjects that you think you already knew.
Though, I don't recommend this book for beginners. As the matter of fact, if I was new to COM and had to write a review for this book, I probably would have only given it 2 stars. It is not because the book is bad, it is simply that this is NOT one of those how-to-book. However, if your level is in the intermediate to advance, you will most definitely want this one.
So, if you do decide to get this book, here is my tip for reading it. Don't try to read the book from front to end, for you may not find enough momentum to get pass the second chapter - that is, if you not into theory and all. Instead, just jump to the chapters that interest you the most. Also note the chapters near the end are very addictive, so you may want to start the book from there. This is how I "re-gained" the incentive to finish the book.
The text requires knowledge of C++ and a desire to learn something new. If you buy this book and don't understand what you're reading, try reading Chappell's Understanding ActiveX and OLE before returning to Essential COM.
But by all means, this book is one of the best treatments of COM available.
However, this book is a must for a COM developer. But you should be really willing to learn the foundations of COM. I read a complaint from another reader that the author doesn't even mention MFC, and I must strongly disagree. COM is not about MFC or ATL etc. It is other Windows-based products that should refer to COM if they want to stay in touch with reality.
Top reviews from other countries
Il primo capitolo è ottimo nello spiegare le motivazioni che sono alla base di COM, e ne consiglio la lettura ad ogni programmatore che voglia capire questa tecnologia.
Lo sviluppo con COM viene semplificato molto dall'uso di framework come ATL, ma capire i fondamenti di COM senza l'ausilio di framework esterni rappresenta un passaggio intellettuale importante.