IBM Content Manager, Version 8.5   Operating systems:  Windows, AIX    Supports:  Oracle, DB2, C++

Setting up the C++ environment (C++ only)

To set up the C++ environment, you must define the environment variables and the compiler flag.

When you set up your Windows or AIX® environment, you must establish the settings described in this section. The following table lists Library, AIX shared and DLL requirements.

Remember: To use C++, you must install DB2® Client support and the Client Configuration Assistant on all remote servers accessing the IBM® Content Manager database. For details, see the administering information.
Important: cmbcm81x.lib is for release build and cmbcm81xd.lib is for debug build, where x represents Microsoft Visual C++ .NET Version 2003 (71) compiler or Microsoft Visual C++ Version 2005 (8).
Tip: The Microsoft Visual Studio 2005 compiler can be installed on the same machine as the Microsoft Visual Studio .NET 2003 compiler. The Microsoft Visual C++ 2005 compiler can also be used to compile library server user exits for IBM Content Manager installed on Windows.

To compile IBM Content Manager applications using the .NET 2003 compiler, you must add the MSVC71 compile flag in the .mak files or in the project files. For example, in the compile flag definitions, add /D MSVC71. If you do not define the compiler flag, your application does not compile. For more information, check C++ sample makefiles.

To compile IBM Content Manager applications using the Microsoft Visual C++ 2005 compiler, you must add the MSVC80 and MSVC71 compile flag in the .mak files or in the project files. For example, in the compile flag definitions, add /D MSVC80 and /D MSVC71. If you do not define the compiler flag, your application does not compile. For more information, check C++ sample makefiles.

Tip: Some of the IBM Content Manager Version 8 C++ native APIs use the operators typeid and dynamic_cast to access the Run time Type Information (RTTI) of IBM Content Manager objects. This means that your C++ application must be compiled with the /GR option to enable RTTI support. See the IBM Content Manager Version 8 C++ sample makefiles for example compiler options.
Table 1. Shared objects and DLL environment information
Connector Library Windows DLLs Shared objects for AIX
Common note: Not a connector. It is a common set of APIs used by all of the connectors. cmbcm81x.lib cmbcm81xd.lib cmbcm81x.dll cmbcm81xd.dll libcmbcm817.a
IBM Content Manager Version 8 cmbicm81x.lib cmbicm81xd.lib cmbicm81x.dll cmbicm81xd.dll cmbicmfac81x.dll cmbicmfac81xd.dll libcmbicm817.a libcmbicmfac817.so
ImagePlus® for OS/390® cmbip81x.lib cmbip81xd.lib cmbip81x.dll cmbip81xd.dll cmbipfac81x.dll cmbipfac81xd.dll Not supported
VisualInfo cmbv481x.lib cmbv481xd.lib cmbv481x.dll cmbv481xd.dll cmbv4fac81x.dll cmbv4fac81xd.dl Not supported


Feedback

Last updated: December 2013
dcmap029.htm

© Copyright IBM Corporation 2013.