DLL Programmer's Guide for TNS/R Systems
DLL Programmer’s Guide for TNS/R Systems—522203-002
6-1
6
Sample Sessions and Usage Notes
This section contains two parts:
•
A set of sample sessions to introduce you to some of the tools and capabilities for
building dynamic linked libraries.
Sample Session One. Create a non-PIC program that uses a statically-linked
library. This is the default situation if you choose not to use PIC and do not
need to create or use DLLs.
Sample Session Two. Create the same thing, as a PIC program running with a
DLL, using the latest tools.
Sample Session Three. This session demonstrates dynamic loading. We
create and compile a main and a DLL, but don’t load the DLL. We invoke rld,
the run-time loader, from inside the process by using a dlopen() call.
•
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.
The usage notes are as follows:
No Support for DLL Tools on UNIX Systems
The Impact of DLLs on Existing TNS/R Product Software
Notes on Debugging
Notes on C++
Guardian Fundamentals
Extra Space For Loading DLLs