EXPORT
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgExport
- Last revised: 2022-06-25
Definition specifier to indicate that a procedure in a DLL should be visible from other programs
Syntax
` { sub | function } proc_name ( argumentlist ) [ [ byref ] as datatype ] Export
`
Description
If a function is defined with this clause in a DLL, it is added to the public export table, so external programs can dynamically link to it using Dylibsymbol.
(specifier to be put at the level of the first line of procedure definition, forbidden at procedure declaration line level)
Examples
See the examples on the Shared Libraries page.
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias
__Export.
Platform Differences
Exporthas no effect in DOS dynamic link libraries (DXE's); all public procedures are exported.
Differences from QB
- New to Freebasic
See also
DylibloadDylibsymbolAlias
Back to DocToc