Delphi XE2 Foundations · Chris Rolliston

Delphi XE2 Foundations

A book by Chris Rolliston documenting the foundations of Embarcadero Delphi XE 2 development — a detailed reference and conceptual overview of the language and the wider runtime library.

  • Printed and eBook versions
  • Fifteen chapters in three parts
  • Errata and feedback pages

Send feedback

Reports of typos, or feedback of any kind, are much appreciated.

The feedback page carries the same Name, Email, Website and Comment fields.

About the book

The language and the runtime library, covered properly

Delphi XE2 Foundations describes the language and wider runtime library (RTL) of Embarcadero Delphi XE2. Coverage begins with basic language syntax, then works through topics such as text handling, streams and native API interoperability, before finishing with Delphi's multithreading features.

The book is published in printed and eBook versions. The printed version is available from CreateSpace and Amazon; the eBook version is available from Amazon's Kindle eBook store. The full table of contents is listed on this site, chapter by chapter.

See all fifteen chapters

Delphi XE2 Foundations is a book built around a simple idea: that understanding the foundations of a language and its runtime library makes everything built on top of them easier to reason about. Rather than presenting a scattered collection of tricks, the text works through the core concepts in a deliberate order, pairing conceptual explanation with practical detail. Readers who want a reference to consult while working and a narrative to read from start to finish will find both here, since the material is arranged so that each part can stand on its own while still fitting into a wider picture.

The book is available in a printed edition and in electronic versions, the latter released in three parts. This arrangement lets readers choose between a single complete volume and a more portable digital format that can be read in stages. The three-part structure mirrors the way the subject matter naturally divides, so moving through the electronic editions in sequence gives much the same experience as working through the printed book. Whichever format suits a particular reader, the content is the same.

The opening part of the book deals with the language itself, beginning with simple types and enumerations before moving into the fundamentals of object-oriented programming. Classes and records are treated in depth, as is string handling, a topic that rewards careful attention because so much everyday code depends on it. Arrays, collections and enumerators follow, giving a grounding in how data is organised and traversed. Throughout, the emphasis stays on understanding why things behave as they do rather than merely memorising syntax.

A later portion turns to basic console applications and the practical building blocks that surround ordinary programs. Streams, documents, XML handling, the registry and INI files all appear here, each discussed in a way that connects the underlying model to the tasks developers commonly face. This section is particularly useful for readers who want to move beyond isolated language features and see how the runtime library supports real work, from reading and writing data to persisting configuration and working with structured formats.

The most advanced material covers the wider runtime library and the more demanding aspects of development. Support packages, dynamic typing and expressions, type information and RTTI, native APIs and libraries, and multithreading all receive attention. These are the areas where a solid grasp of foundations pays off most, because the details are subtle and the consequences of misunderstanding them can be hard to trace. The treatment aims to be detailed enough to serve as a reference while remaining readable as an explanation.

Alongside the main text, the site gathers supporting material for readers. A full table of contents lays out every chapter and shows how the material is organised into its three parts, making it easy to locate a topic or plan a course of study. Sample chapters and screenshots give a sense of the writing style and the layout of code examples before committing to the book, which helps readers judge whether the level and approach match what they are looking for.

The FAQ addresses the questions readers most often ask about the book's content, its format and what background knowledge is helpful before starting. The errata page records known errors and corrections to the text, so that readers can check whether an issue they have noticed has already been identified and fixed. A feedback page invites typos, comments and general observations, and this kind of reader input helps keep the material accurate and useful over time.

The overall aim is to provide a detailed and current reference alongside a conceptual overview of the language and the wider runtime library, written for developers who want to understand Delphi XE2 development from the ground up. Because the foundations are covered thoroughly, the book serves both as a learning path for those new to the environment and as a place to return to when a particular feature needs clarification. Readers can explore the contents, the FAQ, the errata and the previews to decide where to begin.

Candid documentary photograph of a printed technical reference book lying open on a desk, dense code listings filling the pages under soft daylight, with muted grey and cream tones and a calm, studious mood.
Inside the book

Three parts, fifteen chapters

The contents move from language basics through the runtime library to advanced topics. Each part is listed in full on the table of contents page.

Part Two

String handling, arrays, I/O, streams, packages.

Part Three

Dynamic typing, RTTI, native APIs, dynamic libraries, multithreading.

Editions

Printed and eBook

Delphi XE2 Foundations is available in two editions: a printed version available from CreateSpace and Amazon, and an eBook version available from Amazon's Kindle eBook store.

The Kindle version can be read on either a physical Kindle device or Amazon's free Kindle App, which is offered for a variety of desktop and mobile platforms.

Edition details
Candid documentary photograph of stacked technical books beside a tablet showing a digital reference page, in muted grey and cream tones with a quiet, workmanlike mood.
Wide documentary photograph of a clean developer workspace with a large monitor showing code in a dark editor, a notebook and a mug on a pale desk, in calm neutral tones.
The author

Chris Rolliston

Chris Rolliston wrote Delphi XE2 Foundations. He has been writing about Delphi since May 2009.

Having idly thought of writing such a book for a while, he put the idea into practice when Embarcadero reintroduced an entry-level edition of Delphi in February 2011. That was when the XE version was current; Delphi's yearly release cycle and a desire to cover the material properly shaped how the book came together.

  • Author of Delphi XE2 Foundations
  • Writing about Delphi since May 2009
  • Book begun after February 2011

More about the author

On this site

Questions, corrections and previews

The FAQ answers common questions about the book's content, format and reading requirements, including what the book is about, who wrote it, whether a full table of contents is available, and whether there are sample chapters. The errata page lists known errors and corrections to the text.

Readers can send typos, comments or general feedback through the feedback page. Screenshots offer visual previews of the book's layout and code examples.

Pages for readers
PageWhat it covers
ContentsAll chapters, organised into three parts
FAQContent, format and reading requirements
ErrataKnown errors and corrections
FeedbackTypos, comments and general feedback
ScreenshotsPreviews of layout and code examples