![]()
Under AIX, this
pragma is not available for C, but it is available for C++
Description
The #pragma export directive declares that a DLL function or variable is to be exported and specifies the name of the function outside the DLL.
Syntax
where:
| identifier | the name of the function or variable in the DLL.
|
| export_name | The export name is the name for identifier outside of
the DLL. The export name must be fully decorated
according to the linkage convention that applies to it.
This parameter is optional, however if we do not wish to
specify the export_name but we want to specify an ordinal
number, then all commas must be present. For example:#pragma export(identifier,, ordinal) |
| ordinal | the number of the identifier within the DLL. |
* If no export_name is specified, identifier is used.
![]()
Preprocessor Directives - An
Overview
Preprocessor Directive -
#pragma
![]()
_declspec Keyword
_Export Keyword
Keywords in C and C++
Linkage Keywords (OS/2, Windows)
