DLL Programmer's Guide for TNS/R Systems

Hewlett-Packard Company522203-002
i
DLL Programmers Guide for
TNS/R Systems
Glossary Index Figures Tables
What’s New in This Manual vii
Manual Information vii
New and Changed Information vii
About This Manual ix
Purpose of This Manual ix
Who Should Read This Manual ix
How This Manual Is Organized ix
Related Reading ix
Your Comments Invited x
Notation Conventions xi
1. DLLs on a TNS/R System
Libraries and Symbols 1-1
Position-Independent Code (PIC) and Conventional Code in TNS/R 1-3
What is a DLL? 1-3
Why Dynamically Linked Libraries? 1-4
Building and Loading Programs and Libraries 1-5
Compilers 1-6
Linker
1-6
Loader
1-7
Finding the Needed libraries 1-8
The TNS/R Library Facility 1-9
Libraries, DLLs, and Hybrid SRLs 1-9
Linkfiles and Archives 1-10
Import Controls 1-10
Other Loader Operations 1-11
Adjusting Symbol Values and Relocating in Virtual Memory 1-11
Dynamically Loaded DLLs 1-11
User Library 1-11