Buy new:
$58.00
FREE delivery May 21 - 23
Ships from: The Art of Savings
Sold by: The Art of Savings
$58.00
FREE delivery May 21 - 23. Details
Or fastest delivery Tomorrow, May 14. Order within 7 hrs 10 mins. Details
Only 1 left in stock - order soon.
$$58.00 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$58.00
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
The Art of Savings
Ships from
The Art of Savings
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt. You may receive a partial or no refund on used, damaged or materially different returns.
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt. You may receive a partial or no refund on used, damaged or materially different returns.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$3.14
Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc... Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc... See less
$3.98 delivery May 21 - 22. Details
Or fastest delivery Wednesday, May 15. Order within 7 hrs 10 mins. Details
Only 1 left in stock - order soon.
$$58.00 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$58.00
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by glenthebookseller.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Something went wrong. Please try your request again later.

COM IDL and Interface Design First Edition

4.2 4.2 out of 5 stars 5 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$58.00","priceAmount":58.00,"currencySymbol":"$","integerValue":"58","decimalSeparator":".","fractionalValue":"00","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"9YfxbsAYhl9%2BS5%2BwU6Yg25uhP9JNuVDDvIjJrSY2UCitFNaF4GeT%2Ba9CMd9Ak6G0biAQm%2Fkp20Y1TCO2fcvoa1rlMf2koRJcR8%2FDUZ%2FAdZHT1F7w4TBgEgEA7MtFr2x9opJ7yWSRizAodfix0Vov9TE%2FtwgpwI%2FrSyhlNAx3neEMCtGRHhMaSANsvgvTmThw","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$3.14","priceAmount":3.14,"currencySymbol":"$","integerValue":"3","decimalSeparator":".","fractionalValue":"14","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"9YfxbsAYhl9%2BS5%2BwU6Yg25uhP9JNuVDDn5ClHcpKO6m%2BLFXwxu87%2FvBSF3QJabCcwK0dI3PtDpQDErF%2FDaFtsb4qpP8kZJ3pL%2BHXfE7r2DkMD9Q3mLezIaVcOxoL9iF3jeb1vncbm9XoieUlPd5ilC5Pc19jCfsJxLo%2Fsd5B58fkemefc2xK850%2BdbnEt8jk","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

What is the Subject Area?

The Interface Definition Language (IDL) provides a way of describing COM interfaces that doesn't depend on any other programming language. As such, it is currently the best and most generic means available for expressing your interface and object designs. More than that though, IDL is fundamental to the generation of the type libraries that are becoming pervasive within the COM architecture, and the marshaling code that enables COM remote procedure calls. Well-written IDL can enhance the performance of your COM components --- it's just too important to be left to the Wizards.

This book clearly explains the syntax and usage of IDL, but that's only the beginning of the story. You'll also learn how to write efficient interfaces in a way that facilitates their use from languages other than C++. You'll also get a comprehensive (over 40) list of interface and object design techniques and guidelines that shorten your design learning curve and pay for the price of the book.

The book places all of this in context by demonstrating C++/ATL code that implements an On-Line Auction. You'll see sophisticated COM techniques, such as Alternate Identity, Delayed Initialization, Split Identity, multiple scriptable IDispatch interfaces, persistence delegation, marshaling structures with embedded pointers, using IMallocSpy, etc.

The code is very far from being an academic exercise! The application functionality is realistic and the examples demonstrate how to build COM Object Models that work with cutting-edge technologies such as OLE-DB, DHTML controls, STL collections, etc. The architecture and interfaces are carefully designed to be used from any programming language and the book proves this! The COM client bindings chapter shows you how to build exactly the same front end to the Auction Server in VB, Java, C++/MFC, DHTML/VBScript and DHTML/JScript!

What's Great About this Book?

- Explains the syntax and features of the Interface Definition Language.
- Analyzes the issues surrounding COM marshaling and memory management.
- Teaches how to design your interfaces to be used from any client language.
- Examines common IDL programming pitfalls.
- Describes how COM types, interface and interface protocols bind to
the different client languages.
- Shows you how to design your application for maximum portability.
- Implements a realistic COM application with a fully-featured object model.

Who is this Book for?

This title is aimed primarily at C++ developers with a working knowledge of COM and ATL who want to improve the efficiency of their interfaces and make using them from client languages as intuitive as possible.

Its focus on interface programming should also make it valuable to experienced developers (including CORBA programmers) who are interested in learning about COM style Interface Programming. Because of the way it treats the design of COM object models, it should also prove helpful to architects and project leads who are responsible for implementation of object oriented systems that use the COM infrastructure.

Read more Read less

Amazon First Reads | Editors' picks at exclusive prices

Editorial Reviews

Amazon.com Review

An expert-mode guide to the inner workings of the Distributed Component Object Model (DCOM), COM IDL and Interface Design also provides some excellent sample code for objects that are useful for an e-commerce Web site. The author argues that you can design with Interactive Data Language (IDL) manually and then write the code behind it in C++, Visual Basic, or Java.

The book begins with a quick tour of Component Object Model (COM) basics, including interface diagrams and dual interfaces (used for scripting COM objects in VB). Next comes material on remote method calls and DCOM, including some excellent material on apartment models and marshalling. There is a thorough guide to all IDL data types, whether basic types, arrays, references, and pointers or VB automation data types (such as BSTRs and Variants). A chapter on application design displays the author's considerable knowledge of COM and software patterns.

The heart of this book is the author's case study of COM objects needed for an electronic auction Web site. After walking through the design process, the author creates all the relevant COM objects in IDL. Next he shows client-side test programs written in Visual Basic, Visual J++, Visual C++ (and Microsoft Foundation Class [MFC]), VBScript, and JavaScript. The last part of the book builds the server-side objects (based on his IDL) in C++ using the leading-edge ActiveX Template Library (ATL) for fast performance. The author gives you everything you need here including several custom extensions to ATL.

Filled with expert knowledge, COM IDL and Interface Design turns out to be one of the best available guides for advanced development with distributed objects in DCOM on the Microsoft platform. --Richard Dragan

From the Publisher

What's Great About this Book?

- Explains the syntax and features of the Interface Definition Language.
- Analyzes the issues surrounding COM marshaling and memory management.
- Teaches how to design your interfaces to be used from any client language.
- Examines common IDL programming pitfalls.
- Describes how COM types, interface and interface protocols bind to
the different client languages.
- Shows you how to design your application for maximum portability.
- Implements a realistic COM application with a fully-featured object model.

Who is this Book for?

The primary audience of the book is the professional developer who is using C++ / ATL to build sophisticated COM object models.

However, developers in other languages can pick up the most important concepts of COM style interface-based programming. Architects and project leads working on COM object models can benefit from much of the language-independent material in the book. In addition, the experienced CORBA programmer looking for a quick intro into COM style interface design will find this a great read.

Product details

  • Publisher ‏ : ‎ Apress; First Edition (February 1, 1999)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 437 pages
  • ISBN-10 ‏ : ‎ 1861002254
  • ISBN-13 ‏ : ‎ 978-1861002259
  • Item Weight ‏ : ‎ 1.62 pounds
  • Dimensions ‏ : ‎ 7.5 x 1 x 9.25 inches
  • Customer Reviews:
    4.2 4.2 out of 5 stars 5 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Al Major
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read author blogs and more

Customer reviews

4.2 out of 5 stars
4.2 out of 5
5 global ratings

Top reviews from the United States

Reviewed in the United States on April 28, 2002
This book is a bottom up approach to COM, which starts from the IDL, but then goes through all the marshalling mechanisms, remote method calls, etc. About Mid-book Dr. Major presents an application design model which starts from the interfaces. The book will prove useful to those who want to design COM classes and interfaces that know how to behave based on whether they are local or remote, in-proc or out of proc and in general are better adapted to their environment.
One person found this helpful
Report
Reviewed in the United States on August 7, 2000
I bought this book having grasped the basics of COM and IDL and expecting it to help me improve my designs and better understand the issues in how to develop a "good" COM interface.
I found to be mostly disappointing from a design standpoint. Many issues which six months later I had learned were really very important (e.g. the vital question of whether to support IDispatch or not and the huge performance penalty in MFC's default use of this interface) were not covered. There are many trade-offs in COM and I found little discussion of them here.
As a reference it has potential, since it is thorough and deep, but as other reviews have mentioned, it's not as easy to use as a reference as it perhaps should be.
In the end, it's been sitting on my shelf largely untouched as other ATL and COM books become dog-eared with use. So from me, it's thumbs down.
8 people found this helpful
Report
Reviewed in the United States on July 18, 2000
This is definitely the COM IDL reference book. There aren't many books devoted to the subject and most COM books focus on the technology from a specific language perspective not spending any time on IDL itself. Frankly I can't say that it has helped me a great deal with everyday development but it certainly has made my understanding of a few things much clearer and it has reinforced some ideas I had that I was not sure of. Like other reviewers I did not find the other half of the book to be of great value but it was interesting to compare (partial) implementations of the same design in 5 different languages in the same book. My final praise is on the excellent comparison of the various IDL types and how they map to the various languages including a discussion/description of the ubiquitous SAFEARRAY.
Reviewed in the United States on April 7, 2000
Some of the more esoteric stuff in the second half of the book wasn't as useful to me since I pretty much develop standard dual-interface components, but the first half covering IDL and marshalling was extremely good.
2 people found this helpful
Report