March 2000
Intermediate to advanced
576 pages
18h 13m
English
$RunOnly Compiler Directive
{$RunOnly Off} // default
{$RunOnly On}Project
Use the
$RunOnly
directive in a package’s .dpk file to mark
the package as a runtime package. You cannot load the package into
Delphi’s IDE. You can only link the package with an application
or library.
When you write a component, put the component’s unit in a runtime package, and put the property and component editors in a design-time package. That way, an application can link with the component’s runtime package and avoid the overhead of linking the design-time code, which the application doesn’t need.
| $DesignOnly Compiler Directive |
Read now
Unlock full access