Cover image for Delphi : a desktop quick reference
Delphi : a desktop quick reference
Lischner, Ray, 1961-
Personal Author:
First edition.
Publication Information:
Sebastopol, CA : O'Reilly and Associates, [2000]

Physical Description:
xi, 561 pages : illustrations ; 23 cm.
General Note:
Includes index.
Title Subject:
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.76.D47 L56 2000 Adult Non-Fiction Central Closed Stacks

On Order



With a new name and a new focus on CORBA, database drivers, and Microsoft Back Office applications, Inprise/Borland Delphi is enjoying a resurgence, with a growing user base of programmers who use Delphi for rapid development of enterprise computing applications. Not to rest on success, the latest version of Delphi, Version 5, includes further expansion and refinement of the 3-tier application framework introduced in Delphi 4 and has resulted in a prize-winning product. Delphi in a Nutshell is the first concise reference to Borland/Inprise Delphi available. It succinctly collects all the information you need in one easy-to-use, complete, and accurate volume that goes beyond the product documentation itself. Delphi in a Nutshell starts with the Delphi object model and how to use RTTI (Run Time Type Information) for efficient programming. The rest of the book is the most complete Delphi Pascal language reference available in print, detailing every language element with complete syntax, examples, and methods for use. The book concludes with a look at the compiler, discussing compiler directives in depth.

Author Notes

Ray Lischner began his career as a software developer, but dropped out of the corporate rat race to become an author. He started using C++ in the late 1980s, working at a company that was rewriting its entire product line in C++. Over the years, he has witnessed the evolution of C++ from cfront to native compilers to integrated development environments to visual, component-based tools. Ray has taught C++ at Oregon State University. He is the author of Delphi in a Nutshell and O'Reilly's upcoming C++ in a Nutshell, as well as other books.

Table of Contents

Prefacep. vii
Chapter 1 Delphi Pascalp. 1
Unitsp. 1
Programsp. 4
Librariesp. 5
Packagesp. 7
Data Typesp. 8
Variables and Constantsp. 21
Exception Handlingp. 22
File I/Op. 26
Functions and Proceduresp. 27
Chapter 2 The Delphi Object Modelp. 30
Classes and Objectsp. 30
Interfacesp. 53
Reference Countingp. 58
Messagesp. 61
Memory Managementp. 62
Old-Style Object Typesp. 69
Chapter 3 Runtime Type Informationp. 71
Virtual Method Tablep. 71
Published Declarationsp. 73
The TypInfo Unitp. 79
Virtual and Dynamic Methodsp. 86
Initialization and Finalizationp. 88
Automated Methodsp. 90
Interfacesp. 91
Exploring RTTIp. 91
Chapter 4 Concurrent Programmingp. 95
Threads and Processesp. 95
The TThread Classp. 103
The BeginThread and EndThread Functionsp. 108
Thread Local Storagep. 109
Processesp. 109
Futuresp. 119
Chapter 5 Language Referencep. 127
Chapter 6 System Constantsp. 422
Variant Type Codesp. 422
Open Array Typesp. 423
Virtual Method Table Offsetsp. 424
Runtime Error Codesp. 425
Chapter 7 Operatorsp. 428
Unary Operatorsp. 428
Multiplicative Operatorsp. 430
Additive Operatorsp. 431
Comparison Operatorsp. 432
Chapter 8 Compiler Directivesp. 435
Appendix A Command-Line Toolsp. 473
Appendix B The SysUtils Unitp. 488
Indexp. 543