DLL Programmer's Guide for TNS/R Systems

DLL Programmer’s Guide for TNS/R Systems522203-002
ix
About This Manual
Purpose of This Manual
The DLL Programmers Guide For TNS/R Systems is intended as an introduction to
the process of creating and using Dynamic-Link Libraries (DLLs) on TNS/R S-series
systems.
Who Should Read This Manual
Applications and Systems Programmers who want to create or use DLLs.
How This Manual Is Organized
This manual consists of the following sections:
Section 1, DLLs on a TNS/R System. This section explains the TNS/R DLL facility –
what DLLs are, how they work, how they can be used, and the basic workings of the
tools that create them.
Section 2, Essential DLL Facility Controls. This section explains the linkers most
commonly used controls.
Section 3, Dynamic Use of DLLs. This section discusses how to dynamically load and
unload a DLL from your running process and how to link your loadfile with a
dynamically loaded DLL.
Section 4, Finding Symbol Definitions. This section describes how the linker and
loader resolve symbol references, including cases when multiple definitions are
available for the same symbol name.
Section 5, Advanced DLL Facility Controls. This section tells how you can manually
override and extend previously described linker and loader defaults and options to
meet special needs.
Section 6, Sample Sessions and Usage Notes. This section contains simple examples
of creating DLLs and some usage notes - based on the experience of the first users,
we point out some of the issues that you may run into as you start out.
Related Reading
The following manuals (use G06.20 or later versions) form the set that you may need
to create and use DLLs:
The ld and rld Reference Manual.
This contains options for the ld linker and the rld procedures.
The nld and noft Manual.
This contains information on examining object files containing PIC.