PMDF Programmer's Reference Manual


Previous Contents Index

1.11 Compiling and Linking Programs

OpenVMS Systems

To declare the API routines, data structures, HL_ constants, PMDF item codes, and PMDF error codes, C programs should use the PMDF_COM:apidef.h header file and Pascal programs should use the environment file PMDF_EXE:apidef.pen .

Linking programs to the API is accomplished with a link command of the form


$ LINK program,PMDF_EXE:pmdfshr_link.opt/OPT
where program is the name of the object file to link.


Previous Next Contents Index