C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Accessing Middleware Using HP C and C++ for
NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
6-4
Including Header Files for Tools.h++
Including Header Files for Tools.h++
If your application uses any of the functions contained in the Tools.h++ library, you
need to specify the header files for the library by adding #include directives either as
preprocessor directives or as linker options.
For example, these #include directives specify three of the headers for the Version 7
RWCstring string class:
#include <rw/cstring.h>
#include <rw/regexp.h>
#include <rw/rstream.h>
For related MAPINCLUDE examples, see Pragmas for Tools.h++ on page 6-6.
XDR Streams
Tools.h++ version 6.1 does not support the classes RWXDRistream and
RWXDRostream.
Tools.h++ version 7 supports the classes RWXDRistream and RWXDRostream in both
the OSS and Guardian environments.
Table 6-1. Installation Details for G06.20 Tools.h++
Environment Location of Header Files Location of SRLs or DLLS
Guardian Version 6.1: $SYSTEM.ZRW Version 6.1:
$SYSTEM.SYSnn.ZTLHGSRL,
$SYSTEM.SYSnn.ZTLHOSRL
Version 7: $SYSTEM.ZINCRW70 G-series Version 7:
$SYSTEM.SYSnn.ZTLHSRL
H-series Version 7:
$SYSTEM.ZDLLnnn.ZTLH7DLL
OSS Version 6.1:
/usr/rogue6.1/rw
In the Guardian namespace:
Version 6.1:
$SYSTEM.SYSnn.ZTLHGSRL,
$SYSTEM.SYSnn.ZTLHOSRL
Version 7:
/usr/rogue/rw
G-series Version 7:
$SYSTEM.SYSnn.ZTLHSRL
H-series Version 7:
$SYSTEM.ZDLLnnn.ZTLH7DLL
PC running
Windows
(ETK)
Version 6.1:
C:\Program Files\Compaq ETK-
NSE\rogue6.1\rw
Version 6.1:
C:\Program Files\Compaq ETK-
NSE\rogue6.1\lib
Version 7:
C:\Program Files\Compaq ETK-
NSE\rogue\rw
Version 7:
C:\Program Files\Compaq ETK-
NSE\rogue\lib