See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.


Have one to sell? Sell yours here
 
   
Delphi COM Programming
 
See larger image
 

Delphi COM Programming (Paperback)

by Eric Harmon (Author)
2.2 out of 5 stars See all reviews (5 customer reviews)

Available from these sellers.


1 used from £72.09

Product details

  • Paperback: 512 pages
  • Publisher: QUE (4 Feb 2000)
  • Language English
  • ISBN-10: 1578702216
  • ISBN-13: 978-1578702213
  • Product Dimensions: 22.9 x 15 x 2.8 cm
  • Average Customer Review: 2.2 out of 5 stars See all reviews (5 customer reviews)
  • Amazon.co.uk Sales Rank: 745,386 in Books (See Bestsellers in Books)

    Popular in these categories:

    #21 in  Books > Computing & Internet > Microsoft Windows > Programming > COM & DCOM
    #28 in  Books > Computing & Internet > Programming > Languages > Delphi
  • See Complete Table of Contents

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
LMD-Tools 9.0 Delphi BCB
   www.lmdinnovative.com    430+ quality VCL (.NET) controls Delphi/C++ Builder/BDS/CRS 2007 
Delphi Project Quotes
   www.BusinessBuyGuide.co.uk/Delphi    Get Delphi Development Quotes From 6 Pre-Qualified Suppliers-Free 
.NET PROGRAMMING
   compsoft.co.uk/Dot_Net_Development    Proven expertise in application consultancy, design and development 
  
 

Product Description

Amazon.co.uk Review
COM, as the author of Delphi COM Programming points out early on, is hard. This is in part because of the way it has evolved from Microsoft's OLE, which is really DDE....OK, let's stop there. COM enables Windows programmers to create objects which are language and programming environment agnostic. This is especially useful for non-VB users.

Eric Harmon gets deep into the guts of Delphi's COM support, starting with the differences and similarities between Delphi interfaces and abstract classes. It's not a book for tyros. You're assumed to be a competent Delphi programmer, and you need to be as much of the discussion is in the form of program fragments, which can also all be downloaded from the publisher's Web site. (Some will wonder why so many were printed: even programmers aren't likely to need all the included multi-page code fragments, which make for uncomfortable reading and are more accessible and useful in a digital format.)

The information here, however, goes seriously deep. Harmon doesn't just tell you what you can do, but what you can't, what happens when you try, and why it happens. He covers type libraries, automation, ActiveX controls (including lots of background on why you should use ActiveX when Delphi provides its own VCL format, VCL to ActiveX gotchas and distribution issues). He also gets into DCOM, structured storage and Windows shell programming.

Delphi COM Programming is part of a series looking at programming areas in massive detail. This title succeeds brilliantly in its mission. With COM underpinning most serious Windows programming, this book needs to be on every Delphi developers shelf.--Steve Patient

Product Description

Microsoft COM is prevalent throughout Windows operating systems—95, 98, NT-and is rapidly becoming the programming framework of choice. To build applications which interface with Windows systems, programmers must understand and learn to use COM. This book includes coverage of DCOM, Microsoft¿s distributed architecture that is based on COM. It will also covers the latest developments in Delphi 5. This book will teach COM programming to Delphi 4 and 5 programmers. After providing an understanding of the COM framework, it offers a practical exploration of COM to enable Delphi developers to program component-based applications. Typical real-world scenarios, such as Windows Shell programming, automating Microsoft Agent, and creating and using ActiveX controls, will be explored. Discussion of each topic will be illustrated with detailed examples.



See all Product Description

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.
Your tags: Add your first tag
 

 

Customer Reviews

5 Reviews
5 star:    (0)
4 star:
 (1)
3 star:
 (1)
2 star:
 (1)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
2.2 out of 5 stars (5 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
7 of 7 people found the following review helpful:
1.0 out of 5 stars COMpletely useless, 1 Feb 2001
By A Customer
Having been recommended this book on a delphi training course as a 'perfect introduction' to COM programming my hopes were high. However one chapter in and it is all too aparent that the author is struggling to get his, albeit undeniable, knowledge of the subject across to the reader in a clear fashion. The initial examples are irrelevant and make the subject matter hard to comprehend, not a good start, especially as it is the material on which the whole book will be based. Things dont improve much as you work through the book. It is blindingly obvious that no-one actually sat down and tried following the authors methods word for word as they are in the book, if they had they would have struggled to get past the second example. The examples are littered with typos and mistakes, you spend nearly as much time trying to figure out the authors mistakes as you do trying to learn the code. The worst example of the sloppy nature of the examples is in chapter 4 on Automation where you reach a dead end following the code, unknown to the reader, the author has restarted the example (even renamed the interface) and carried on as though nothing had happened, had I not downloaded the sources from the internet I would not have noticed this and would still be banging my head against a wall now. I could only recommend this book to anyone whos patience has to be seriously tested before giving something up, otherwise steer clear.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5 of 5 people found the following review helpful:
2.0 out of 5 stars A good introduction to COM? Could do (quite a bit) better., 12 Sep 2000
By A Customer
At first I liked the look of this book: the typeface was pleasant to look at, and Mr Harmon seemed to know what he was talking about... and he clearly does know about COM. BUT: to write a good book on a complex subject requires more than mere knowledge of the subject.

A good teacher must know how to teach, and a good writer of technical literature must also know how to put things across in a measured, structured and empathic way...

Mr Harman falls short here.

There is no CD that comes with the book; not even a floppy: sourcecode is available on the net, although it's not where the text says it is... That being the case (and since the sourcecode is not available on CD or floppy) one might think that Mr Harman would choose short, punchy examples... -he does not. The example code listings tend not only to be overlong, but frequently one finds oneself having to get to grips with aspects of coding not directly relevant to the discussion in hand. For instance, one finds Mr Harman complicating his introduction to 'interfaces' with code relating to 'polymorphism', complicating his first proper COM listing with code relating to 'bin-packing' algorithms, complicating his discussion of type libraries with the code for a fairly big and complicated program to READ type libraries that is really not appropriate to an introduction, and so on (consistently). This, it has to be said, is not evidence of a good pedagogical style. It is not even evidence of the kind of basic empathy for the reader that IS a prerequisite on the part of a good technical writer.

Let's say that as a reader new to COM, you were still not 100% clear about the meanings of one or more of these words: 'object', 'interface' and 'reference'. Would you then be able to make sense of the following, when the terms have not yet been succinctly defined in the text?

'In the examples presented so far, I've been showing you both object references and interface references as if they work together and are interchangeable. That is not the case. The interface model is an alternative to the reference model. When implementing one or more interfaces in a class, you should manipulate objects of the class using only interfaces. This section shows you how you can get into trouble by mixing the object model and the reference model'.

In Chaper 4, on the subject of 'Automation' it seems that Mr Harman has changed tack a little and decided to provide a more concrete (and simple) Delphi example more geared toward the steps one should take in the Delphi IDE to code the example. Fine! But then we find a number of inconsistencies: in Delphi 5 the compiler complains about the 'double' type returned from an automation server object, that we have been asked to specify. OK a little fiddling (if you know how to fiddle it) will get around this one. The next problem one comes across is less insignificant, however: half way through his automation server example Mr Harman changes Class names- one minute he is talking about an IAreaUnitConverter class, and the next he refers to an IUnitArea class (both of which are in fact the same). Clearly he has not checked his code properly, and as a result the reader can only become (more) confused.

Did Rhuver Barengi, Derek Benner, or Xavier Pacheco (the 'technical reviewers') actually read this book, and try the examples for themselves? If so then they are being remarkably slack in giving the thumbs-up so easily to material that so clearly falls short from a pedagogic point of view.

It is important, in the effective communication of complex ideas, to be able to succinctly stress those points that are most significant, so that the reader can begin to build up a framework, or model, into which subsequent information can be slotted. Mr Harman is not good at this: for example, under the subtitle DispInterfaces his first sentence is 'Somewhere between interfaces and variants are dispinterfaces'. Very clear. Does it become clearer? No: the next sentence reads 'A dispinterface declaration looks almost identical to an interface declaration except it uses the keyword dispinterface instead of interface'... So does he go on to describe the purpose of a dispinterface, then? No, not at all, or only very obliquely. He refers to variants here, but has he defined or clearly described variant types prior to this point (basic rule of teaching: introduce concepts clearly and then use them later as foundations upon which to construct a more complex framework). The answer is 'no, he hasn't' -previously, variants have been touched on in the same 'if you know this already then fine but if you don't know it already don't expect a clear and simple explanation here' style. This is frustrating for those people that the book, is ostensibly at least, aimed at.

At risk of labouring the point, here is how Mr Harman introduces the reader to Delphi's ActiveForms. After two short sentences describing what ActiveForms are, in one page of text we are led through using the ActiveForm wizard to create a new ActiveForm. The next fourteen pages consist of code listings which are the output of the wizard, including a grand total of some ten lines of the author's own code. None of this code is commented. None of it is explained properly in the surrounding text. The chapter ends with a few short paragraphs on how to test your ActiveForm. This is not good enough.

Is this a book written for Delphi programmers who are new to COM, or is it a book for people who already have a grounding in COM but who are new to Delphi? Mr Harman suggests the former: I would suggest that the latter is actually closer to the mark...

A good introduction to COM?

Could do (quite a bit) better.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
3 of 3 people found the following review helpful:
1.0 out of 5 stars Is it really necessary to include so much generated code?, 16 Jun 2000
By A Customer
I've been working with COM for a while now and was expecting good coverage of some advanced topics, but was dissapointed.

Code listings are always a good idea but including the complete pascal translation of a type library (yes, that's with all the delphi generated comments) and other delphi generated PAS files for most of the examples is just silly. Perhaps a few pages discussing IDL/MIDL and then using IDL for the description of type libraries would have been a more efficient use of paper.

Here's one example, in the description of active forms there is a one page description of using the wizard and then 15 pages of listings, ALL of which have been delphi generated! And just two pages before we've got another 17 pages of generated code, this time from the conversion of a VCL control to an ActiveX one.

In general, most examples just list the full code and don't really highlight the interestng bits.

Another thing I noticed, deep into the book we get the useful comment '...a unique CLSID (which is simply a GUID) ...'. CLSIDs have been discussed three chapters earlier so we already know this and I think this reveals that the book is really just a collection of examples and not a progression of COM concepts, each building on the last.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars I agree that it has too much code, but its still a fine book
I agree that this book has too much code listings, and can understand why it doesnt have a CD (CD's seem to increase prices quite substantially). Read more
Published on 15 Jun 2004 by Toby Allen

4.0 out of 5 stars A much needed book, and yes, it does not disappoint !
Probably one the most informative books about COM and Delphi. The Windows shell programming sections and the basic concepts of COM (in Delphi) are amazingly simple to implement... Read more
Published on 23 Feb 2000

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Listmania!


Look for similar items by category


Feedback


The Body Shop

The Body Shop - Vitamin C Skin Boost
Protect and boost your glow with The Body Shop Vitamin C Skin Boost.

Shop The Body Shop

 

Let Olay Amaze You

Olay Total Effects Day Moisturiser SPF15 50ml
Amazon.co.uk sells all your favourite ranges from Olay, including Regenerist and Total Effects.

Discover Olay at Amazon.co.uk

 

Up to 53% off Braun Series Shavers

Braun Series 3 390cc Clean & Renew System Rechargeable Foil Electric Shaver
Get in touch with your smooth side with Braun Series shavers, now with Gillette blade technology.

Discover Braun Series at Amazon.co.uk

 

Treat Someone

Amazon.co.uk Gift Certificates--available in any amount from £5 to £500 With an Amazon.co.uk Gift Certificate, you can get them what they want (even if you don't know what that is).

Learn more about Gift Certificates

 
Ad

Where's My Stuff?

Delivery and Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue Shopping: Top Sellers

amazon.co.uk Amazon Home
International Sites:  United States  |  Germany  |  France  |  Japan  |  Canada  |  China
Business Programs: Sell on Amazon  |  Fulfilment by Amazon  |  Join Associates  |  Join Advantage
Customer Service  |  Help  |  View Basket  |  Your Account
About Amazon.co.uk  |  Careers at Amazon
Conditions of Use & Sale |  Privacy Notice  © 1996-2009, Amazon.com, Inc. and its affiliates