export (procedure directive)


 export (procedure directive)

The export directive belongs to the same family of procedure directives as the near, far, inline, and interrupt directives.

The export directive makes a procedure or function exportable by

  - forcing the routine to use the far call model
  - generating special procedure entry and exit code

If procedures and functions are to be exported by a DLL, they must be compiled with the export procedure directive. This means that an export directive, if present, must be specified on the first introduction of a procedure or function; it cannot be supplied in the defining declaration of a forward declaration.

The actual export of the procedure or function does not occur until the procedure or function is listed in a library's exports clause.

See Also

Тэги: export
| G+
Код для вставки: :: :: :: ::
Поделиться: // //