The early sections of this book provide a remarkably clear comparison of C++ and COM. (By using what you know, you can understand what is new and different about COM, including terminology such as interfaces, instances, and GUIDs [Globally Unique Identifiers].) The authors' examples for using a simple COM object are extremely clear. They walk you through the steps required to use COM on both the client and the server side, using the Active Template Library (ATL) wizards in Visual C++ 6.
After these practical examples, the authors sketch in more detail about COM with information on Microsoft IDL (MIDL), working with string data, and Object Linking and Embedding (OLE) Automation and dual interfaces. The authors do a good job of explaining the various apartment-threading models available for COM objects. They defer their discussion of the Registry until later in the book--after they present practical examples.
Later sections look at callback functions and connection points, as well as the move to distributed objects and DCOM. Sections on debugging COM objects provide invaluable material on showing error messages as well as some tips on building COM objects using Visual C++ features.
If you are a programmer who has been a bit baffled by DCOM, this book manages to make a difficult topic digestible. It presents a good amount of technical material but uses practical examples rather than theory to teach the reader how to be productive with DCOM. --Richard Dragan
Product Details
Would you like to update product info or give feedback on images?
|
|
Share your thoughts with other customers:
|
||||||||||||||||||||||
|
Most Helpful Customer Reviews
4 of 4 people found the following review helpful:
5.0 out of 5 stars
This book is a great book,
By A Customer
This review is from: Understanding DCOM (Paperback)
I found this book to be very clear and complete in it's explantion of COM and DCOM. DCOM is clearly explained in Chapter 14(p.229). The real difference between COM and DCOM is the way you create the COM object(p.229-230). All the magic is handled by the Service Control Manager(p230). For DCOM you must use CoCreateInstanceEx instead of CoCreateInstance(p230). The COSERVERINFO struct should reflect the name of the server containing the COM object and must be passed as the fourth parameter of the CoCreateInstanceEx function(p231-233). The rest of DCOM is setting up permission so you can get around security(in NT) ( rest of chapter 14). Again this book clearly explains what is need to do COM and DCOM. I think people thought that DCOM was this incredibly complicated mess that could not be explained so quickly. This book showed this not to be so.
2 of 2 people found the following review helpful:
5.0 out of 5 stars
Awesome beginers book,
By
This review is from: Understanding DCOM (Paperback)
I had no clue what is a com object. All I know was how use com or ocx object. For some project, I have to add com callbacks. This books explains clearly and one baby step at a time. I strongly recommend this book to anybody who is intereted in learning any thing about COM/DCOM
2 of 2 people found the following review helpful:
5.0 out of 5 stars
My most tattered tech book,
By
This review is from: Understanding DCOM (Paperback)
I own many books on the subject on COM/DCOM. I bought this one days after it was first published in December 1998. While my other COM books are pristine, this one is tattered and torn with pages falling out. I keep it within reach at all times. When I can't find it, I panic. Whenever I'm stumped, I grab it and within a few minutes, I'm back on track. It is not a theoretical dissertation which is why I like it. If you want to spout COM jargon, buy Don Box. If you want to get work done, buy this one.
Share your thoughts with other customers: Create your own review
|
|
Tag this product(What's this?)Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items. |
|
This product's forum
Active discussions in related forums
Search Customer Discussions
|
Related forums
|