Several important header files are needed to compile and link with SmartSockets. These files are normally included in C/C++ code with the #include C/C++ preprocessor directive.The SmartSockets header files are located in these directories:
Header files should be included with the angle-bracket syntax. For example, when using C, this inclusion line is used:
While for the C++ class library this inclusion line is used (in fact, the cxxipc.hxx file indirectly includes ipc.h
):
Use of the angle-bracket syntax is preferred over the use of double-quotes:
or
On UNIX, using angle brackets requires using an argument to the C++
command:
On OpenVMS, the logical RTWORKS
directory is RTHOME:[INCLUDE.RTWORKS]
so that DEC C++ uses that directory for <rtworks/cxxipc.hxx>
.
On Windows, add the SmartSockets include directory %RTHOME%\include\rtworks
to the list of Visual C++ Developer Studio project include directories. There are several example Visual C++ makefiles in %RTHOME%\examples\cxxipc
that you can use as a starting point for your application executables.
TIBCO SmartSockets™ cxxipc Class Library Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |