Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Specifying exported names under Windows

Under Windows, you tell the linker what parts are exported using an .EXP file. The .EXP file is a binary file that is built by invoking ilib with the /GENI option and using either of the following as input:

Using .DEF files is preferable since it gives you control of exactly what is exported by the DLL. If you specify .OBJ names, all of the external names in the object files named are exported.

The following example shows a command you could use to create an .EXP file:

  ilib /geni myliba.def

The Windows .DEF file created for has these characteristics:

The name 'decoration' depends on a routine's linkage, but if you use the .DEF files created by the compiler, you do not need to be concerned about this.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)