Run-Time Library Environments

The library environment is a section of information associated with and statically linked to the IBM C and C++ Compilers library itself. Your program has only one library environment if one of the following statements is true:

If more than one of your modules is statically linked to the IBM C and C++ Compilers library, your program has more than one library environment. Because there is no communication between these environments, certain operations and functions become restricted:

In general, it is easier to use only one library environment, but it is not always possible. For example, if you are building a DLL that will be called by a number of applications, you should assume that there may be multiple library environments and code your DLL accordingly.



Stream Processing
Signals and Exceptions
Application Run-Time Environment Variables
Multithreaded Programs


Program Stream I/O