ATL Internals
Home > Computing and Information Technology > Computer programming / software engineering > Object-oriented programming (OOP) > ATL Internals
ATL Internals

ATL Internals

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

"This book is the definitive reference for ATL programmers. The chapter on CComObject is worth the price alone."--Don Box, COM guy, DevelopMentor"Brent and Chris are always technically accurate and present the information in a well written, easy to understand manner...I bought it and I'm the ATL Development Lead!"--Christian Beaumont, ATL Development Lead, Microsoft Corporation The Active Template Library (ATL) is a set of small, efficient, and flexible classes that facilitate the creation of interoperable COM components. Written for experienced COM and Visual C++ programmers, this book provides in-depth coverage of ATL's inner workings. It offers insight into the rationale behind ATL design, explains its architectural underpinnings, shows how ATL maps to COM, and describes important implementation details. With coverage current through ATL version 3.0, ATL Internals includes an overview of the Wizards but then goes well beyond the basics. The authors provide the detailed information needed to utilize ATL to its greatest advantage and work around its shortcomings.You will find detailed coverage of such topics as: *ATL Smart Types, such as CComPtr, CComVariant, and CComBSTR *Objects in ATL, covering COM object responsibilities and ATL threading model support *Servers in ATL, including ATL's class object implementations, managing server lifetime, self-registration, and server build optimizations *Interface maps, focusing on the techniques C++ programmers can use to implement COM interfaces and how ATL supports these techniques *Persistence and connection points *Enumeration, covering both pre-calculated and dynamic data sets, and enumerating over an STL container *ATL windowing classes *Controls and Control Containment If you want to optimize ATL by learning effective techniques that reduce the time you spend writing boilerplate COM code, there is no better resource than this book. 0201695898B04062001

Table of Contents:
Foreword. Preface. 1. Hello, ATL. What Is ATL? Creating a COM Server. Inserting a COM Class. Adding Properties and Methods. Implementing Additional Interfaces. Support for Scripting. Adding Persistence. Adding and Firing Events. Using a Window. Implementing Component Categories. Adding a User Interface. Hosting a Control. Summary. 2. ATL Smart Types: Strings, BSTRs, VARIANTs, and Interface Pointers. String Data Types, Conversion Macros, and Helper Functions. The CComBSTR Smart BSTR Class. The CComBSTR Class. The ComVariant Smart VARIANT Class. The CComPtr, CComQIPtr, and CComDispatchDriver Smart Pointer Classes. Summary. 3. Objects in ATL. Recall: COM Apartments. Implementing IUnknown. The Layers of ATL. Threading Model Support. The Core of IUnknown. Your Class. CComObject et al. ATL Creators. Debugging. Summary. 4. COM Servers. A Review of COM Servers. The Object Map and the CComModule Class. The Object Map. Methods Required of an Object Map Class. The CComModule Class. CComCoClass Revisited. Server Optimization Compilation Options. Summary. 5. Interface Maps. Recall: COM Identity. Table-Driven QueryInterface. Multiple Inheritance. Tear-off Interfaces. Aggregation: The Controlling Outer. Interface Map Tricks. Summary. 6. Persistence in ATL. A Review of COM Persistence. ATL Persistence Implementation Classes. The Property Map. The Persistence Implementations. Additional Persistence Implementations. Adding Marshal-by-Value Semantics Using Persistence. Summary. 7. Collections and Enumerators. COM Collection and Enumeration Interfaces. Enumerating Arrays. Enumerating STL Collections. Collections. STL Collections of ATL Data Types. Simple Collections. Object Models. Summary. 8. Connection Points. A Review of Connection Points. Creating an ATL-Based Connectable Object. Creating an Object That Is an Event Recipient. How It All Works: The Messy Implementation Details. Summary. 9. Windowing. The Structure of a Windows Application. CWindow. CWindowImpl. CDialogImpl. Windows Control Wrappers. CContainedWindow. Summary. 10. ActiveX Controls. A Review of ActiveX Controls. The BullsEye Control Requirements. Creating the Initial Control Using the ATL Wizard. The Initial BullsEye Source Files. Developing the BullsEye Control Step by Step. Summary. 11. Control Containment. How Controls Are Contained. Basic Control Containment. Hosting a Control in a Dialog. Composite Controls. HTML Controls. ATL's Control Containment Limitations. Summary. Appendix A: C++ Templates by Example. The Need for Templates. Template Basics. A Different Kind of Polymorphism. Function Templates. Member Function Templates. Summary. Appendix B: ATL Classes and Headers. Index. 0201695898T04062001


Best Sellers


Product Details
  • ISBN-13: 9780201695892
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 233 mm
  • No of Pages: 656
  • Weight: 1105 gr
  • ISBN-10: 0201695898
  • Publisher Date: 21 Apr 1999
  • Binding: Paperback
  • Language: English
  • Spine Width: 29 mm
  • Width: 188 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
ATL Internals
Pearson Education (US) -
ATL Internals
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

ATL Internals

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!