Use the _Export keyword with a function name or external variable to declare that the function or variable is to be exported; that is, made available to other modules.
For example:
int _Export anthony(float);
cause the function anthony to be exported if it is defined within the compilation unit. The function must be defined in the same compilation unit in which the _Export keyword is used.
You can also mark exports with the #pragma export directive or the _declspec(dllexport) construct.
![]()
#pragma export
_declspec Keyword
Keywords in C and C++
Linkage Keywords (OS/2, Windows)
