Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.
The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact:
For sales outside the United States please contact:
International Sales email@example.com
To gain 45-day Safari Enabled access to this book:
If you have difficulty registering on Safari Bookshelf or accessing the online edition, please e-mail firstname.lastname@example.org.
Visit us on the Web: www.awprofessional.com
Library of Congress Cataloging-in-Publication Data
ATL internals : working with ATL 8 / Chris Tavares... [et al.]. 2nd ed. p. cm. Previous ed. by Brent Rector. ISBN 0-321-15962-4 (pbk. : alk. paper) 1. Application softwareDevelopment. 2. Active template library. I. Tavares, Chris. II. Rector, Brent. ATL internals. QA76.76.D47R43 2006 005.3dc22 2006008998
Copyright © 2007 by Christopher Tavares, Kirk Fertitta, Brent Rector, and Chris Sells
All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, write to:
Text printed in the United States on recycled paper at Edwards Brothers in Ann Arbor, Michigan. First printing, July 2006
For Wendy, who believed in me even when I didn't believe in myself.
To Mom and Ed, for their unwavering faith and encouragement.
To Lisa, for being there from the start and providing encouragement constantly, for nearly three decades now. To Carly and Sean, who don't think it's that big of a deal that their dad writes books; it's all they've ever known.
This edition is dedicated to the native Windows programmers that .NET has left behind. I hope that .NET will serve your needs in the future, but until then, this book is for you.