Delphi Language Guide Delphi for Microsoft Win32 Delphi for the Microsoft. Net framework



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə214/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   210   211   212   213   214   215   216   217   ...   294
DelphiLanguageGuide

Understanding Packages
A package is a specially compiled library used by applications, the IDE, or both. Packages allow you to rearrange
where code resides without affecting the source code. This is sometimes referred to as application partitioning.
Runtime packages provide functionality when a user runs an application. Design-time packages are used to install
components in the IDE and to create special property editors for custom components. A single package can function
at both design time and runtime, and design-time packages frequently work by referencing runtime packages in their
requires clauses.
On Win32, package files end with the .bpl (Borland package library) extension. On the .NET platform, packages are .
NET assemblies, and end with an extension of .dll
Ordinarily, packages are loaded statically when an applications starts. But you can use the 
LoadPackage
 and
UnloadPackage
 routines (in the 
SysUtils
 unit) to load packages dynamically.
Note:
When an application utilizes packages, the name of each packaged unit still must appear in the uses clause
of any source file that references it.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   210   211   212   213   214   215   216   217   ...   294




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin