Managed Module Structures

Delphi applications compile to managed modules. The following sections discuss the structure of a Delphi program.

The Program Structure

A program is the base unit that forms an application; we call this the main module. Typically, a program can consist of many units and can also use code from libraries and/or packages. To use .NET terminology, a Delphi program can directly link code from any number of units and import code from one or more assemblies.

Note

A feature of Delphi for .NET, which does not exist in other .NET languages, is the capability to link code from a Delphi assembly directly into your managed module. This capability simplifies deployment even more because you would only have to deploy a single executable. ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.