Piacenza, Italy, November 2008
Author: Marco Cantù Publisher: Wintech Italia Srl, Italy Editor: Peter W A Wood Tech Editors: Holger Flick, Jeroen Pluimers, Jan Goyvaerts, Jeremy North, Marco Breveglieri Cover Designer: Fabrizio Schiavi
Copyright 2008 Marco Cantù, Piacenza, Italy. World rights reserved. The author created example code in thispublication expressly for the free use by its readers. The source code for this book is copyrighted freeware, distributed via the web site http://www.marcocantu.com. The copyright prevents you from republishing the code in print media without permission. Readers are granted limited permission to use this code in their applications, as long at the code itself is not distributed, sold, or commerciallyexploited as a stand-alone product. Aside from this specific exception concerning source code, no part of this publication may be stored in a retrieval system, transmitted, or reproduced in any way, in the original or in a translated language, including but not limited to photocopy, photograph, magnetic, or other record, without the prior agreement and written permission of the publisher. ISBN: NotAssigned.
Delphi is a trademark of CodeGear, a subsidiary of Embarcadero Technologies. Windows Vista is a trademarks of Microsoft. Other trademarks are of the respective owners, as referenced in the text. The author and publisher have made their best efforts to prepare this book, and the content is based upon the final release of the software whenever possible. The author and publisher make norepresentation or warranties of any kind with regard to the completeness or accuracy of the contents herein and accepts no liability of any kind including but not limited to performance, merchantability, fitness for any particular purpose, or any losses or damages of any kind caused or alleged to be caused directly or indirectly from this book.
Edition 1, Revision 1. November 25th 2008. Printedby Lulu Press in USA. Electronic edition licensed to Embarcadero Technologies. Printed copies of this book are on sale on http://www.lulu.com More information on http://www.marcocantu.com/dh2009
Marco Cantù, Delphi 2009 Handbook
Preface - 3
To my wife Lella, with love, encouragement, passion, dedication, and patience
This is a book about CodeGear Delphi 2009. You won't find anintroduction to Delphi programming, its Object Pascal language or its Visual Component Library in it. In this book you can read only about new features of Delphi 2009 for Win32 in each of these areas. The book covers Delphi 2009 Unicode support, the new language features (such as generics and anonymous methods), the improvements of the IDE, the new classes of the Run Time Library, the newcomponents of the VCL (including the Ribbon control), and the extensions to the database architecture and the DataSnap multi-tier technology. As usual for my books, I'm covering the theory but also showing you dozens of examples, you can download and play with on your computer. If you still don't own Delphi 2009, you can download the trial version and also look at the actual programs in action in aseries of videos linked from the web page:
Marco Cantù, Delphi 2009 Handbook
4 - Preface
This book is a sequel to Delphi 2007 Handbook, as it doesn't repeat its content at all. If you are interested in new features of Delphi 2009 since Delphi 7 (or a similar old version), you can buy both of my Handbooks. If you are looking for an introduction toDelphi, instead, you can refer to my “Essential Pascal” for the language foundations and to the books in “Mastering Delphi” series (in particular either “Mastering Delphi 7” or “Mastering Delphi 2005”). While my recent Handbooks and “Essential Pascal” are available on Lulu.com, the Mastering series was published in a more traditional way and can be found in physical or online bookstores. You can...