Usually, you do not refer to the VisualAge C++ run-time library by file name. You set build options to choose what version of the run-time libraries are to be used during a build. You can also set options to suppress automatic linking of the run-time library, in which case you may have to explicitly name the library files to link.
VisualAge C++ run-time library packages C and C++ functions separately. Modules generated from C source code use only the C run-time library. Modules generated from C++ sources, or a mixture of C and C++, must link to both the C and C++ run-time libraries. In previous versions of VisualAge C++ and predecessor products, the C and C++ libraries were combined.
Here are the static versions of the run-time libraries:
| File Name | Description |
|---|---|
| singlethread static C run-time library | |
| singlethread static C++ run-time library | |
| multithread static C run-time library | |
| multithread static C++ run-time library | |
| subsystem static C run-time library | |
| subsystem static C++ run-time library |
The static run-time libraries reside in the directory %VACPPMAIN%\LIB. The environment variable is VACPPMAIN is set during installation to hold the absolute path of the root directory in which VisualAge C++ is installed.
Here are the shared, or DLL, versions of the run-time library and associated import libraries:
| File Name | Description |
|---|---|
| singlethread dynamic link C run-time library | |
| singlethread dynamic link C++ run-time library | |
| multithread dynamic link C run-time library | |
| multithread dynamic link C++ run-time library | |
| subsystem dynamic link C run-time library | |
| subsystem dynamic link C++ run-time library |
When you explicitly name the run-time library for dynamic linking, you must list both the import library and the object library that contain entry points for the DLL you use. Here are the import and object libraries associated with the VisualAge C++ run-time DLLs:
| Dynamic Link Library | Import Library | Object Library |
|---|---|---|
| CPPRSI40.LIB | CPPRSO40.LIB | |
| CPPRAI40.LIB | CPPRAO40.LIB | |
| CPPRMI40.LIB | CPPRMO40.LIB | |
| CPPRBI40.LIB | CPPRBO40.LIB | |
| CPPRNI40.LIB | CPPRNO40.LIB | |
| CPPREI40.LIB | CPPREO40.LIB |
The dynamic-link, import, and object run-time libraries reside in following directories:
%VACPPMAIN%\DLL
%VACPPMAIN%\BIN
VisualAge C++ also includes the two complex number libraries listed below. They are static libraries and have no DLL implementation.
| File Name | Description |
|---|---|
| C++ complex number singlethread library | |
| C++ complex number multithread library |
![]()
Run-Time
Environments
Static and Dynamic Link Libraries
Repackaging
VisualAge C++ DLLs for Distribution
The VisualAge C++
Environment
