March 2000
Intermediate to advanced
576 pages
18h 13m
English
Name Directive
exportsSubroutine signaturenameString, ... ;subroutine declaration; externalD11NamenameString;
A unit or library can export any subroutine and supply a different
name for it in a DLL. Without the name directive,
Delphi uses the function or procedure name. The
name directive lets you use names that include
non-alphanumeric characters, or just use a different name.
If you export overloaded subroutines, you must use the
name directive to ensure the overloaded routines
are exported with unique names.
You can use the index and name
directives for the same exported routine (in that order).
For more information and an example, see the
exports keyword.
To export a subroutine by index only, use an empty string for the name.
| Exports Keyword, External Directive, Index Directive, Name Directive |
Read now
Unlock full access