See the ObjectWindows Reference Guide for information about the libraries and DLLs specific to ObjectWindows.
The static libraries
The run-time libraries are divided into static (OBJ and LIB) and dynamic-link (DLL) versions. These different versions of the libraries are installed in separate directories. The static and dynamic libraries are described in separate tables.
Several versions of the run-time library are available. For example, there are memory-model-specific versions, diagnostic versions, and 16- and 32-bit-specific versions. There are also optional libraries that provide mathematics, container, ObjectWindows development, and international applications.
Here are some guidelines for selecting which run-time libraries to use:
• Segmented memory-model libraries are supported only in 16-bit programs. Tiny and huge memory models are not supported.
II 16-bit DLLs are supported only in the large memory model.
• For 32-bit programs, only the flat memory model is supported.
• 32-bit console and GUI programs require different startup code.
III Multithread applications are supported only in 32-bit programs.
The static (OBJ and LIB) version of the Borland C++ run-time library is con-tained in the LIB subdirectory of your installation. For each of the library file names, the '?' character represents one of the four (compact, small, medium, and large) distinct memory models supported by Borland. Each model has its own library file and math file, containing versions of the routines written for that particular model.
The following table identifies the default run-time libraries used with each compiler. See the User's Guide for discussions about compiling and linking.
Table 1.1: Default run-time libraries Compiler
BCC.EXE BCC32.EXE BCW.EXE BCWS32.EXE
Application 16-bit Windows Win32
Same as BCC.EXE Same as BCC32.EXE
Default libraries
COWS.OBJ, CWS.L1B, MATHWS.L1B, IMPORT.L1B COX32.0BJ, CW32.LlB, IMPORT32.LlB
Same as BCC.EXE Same as BCC32.EXE
The following table lists the names and uses of the Borland C++ static libraries; it also lists the operating system under which each library item is available. See the User's Guide for information on linkers, linker options, requirements, and selection of libraries.
Table 1.2: Summary of static run-time libraries
File name Application Use
Directory of BC41L1B
BIDSDI.LlB Win 16 16-bit diagnostic, dynamic BIDS import library for BIDS40D.DLL BIDSI.LlB Win 16 16-bit dynamic BIDS import library for BIDS40.DLL
BIDSF.LlB Win32s, Win32 32-bit BIDS library
BIDSDF.LlB Win32s, Win32 32-bit diagnostic BIDS library
BIDSFI.L1B Win32s, Win32 32-bit dynamic BIDS import library for BIDS40F.DLL
BIDSDFI.LlB Win32s, Win32 32-bit diagnostic, dynamic BIDS import library for BIDS40DF.DLL BIDSDB ?LlB Win 16 16-bit diagnostic BIDS library
BIDS?LlB Win 16 16-bit BIDS library
BWCC.LlB Win 16 16-bit import library for BWCC.DLL BWCC32.L1B Win32s, Win32 32-bit import library for BWCC32.DLL COD32.0BJ Win32s, Win32 32-bit DLL startup module
COD?OBJ Win 16 16-bit DLL startup module
COW32.0BJ Win32s, Win32 32-bit GUI EXE startup module
COW?OBJ Win 16 16-bit EXE startup module
COX32.0BJ Win32 32-bit console-mode EXE startup module
CRTDLL.LlB Win 16 16-bit dynamic import library for BC40RTL.DLL CW32.LlB Win32s, Win32 32-bit GUI single-thread library
CW?LlB Win 16 16-bit library
CW321.L1B Win32s, Win32 32-bit single-thread, GUI, dynamic RTL import library for CW32.DLL CW32MT.L1B Win32 32-bit GUI multithread library
Table 1.2: Summary of static run-time libraries (continued)
CW32MTI.LlB Win32 32-bit multithread, GUI, dynamic RTL import library for CW32MT.DLL IMPORT.L1B FILES.C Win32s, Win32 FILES2.C
16-bit import library for Windows 3.1 32-bit import library; use with IMPRTW32.LlB 16-bit math libraries
16-bit universal thunking library 32-bit universal thunking library Provides obsolete global variables.
Increases the number of file handles Increases the number of file handles
Sample of a user-defined floating-paint math exception handler for float and double types
Sample of a user-defined floating-paint math exception handler for long double type
Increases the number of file handles Increases the number of file handles
Passes open file-handle information to child processes Prints register-dump information when an exception occurs
Sample of a user-defined floating-point math exception handler for float and double types
Sample of a user-defined floating-point math exception handler for long double type
Transforms wild-card arguments into an array of arguments to main in console-mode applications
Batch file to build COD?OBJ, COF?OBJ, and COW?OBJ Source for COD ?OBJ
Source for COW?OBJ
. Assembly rules for COD.ASM and COW.ASM
The dynamic-link libraries
The dynamic-link (DLL) version of the run-time library is contained in the BIN subdirectory of the installation. Several versions of the DLL libraries
are available. For example, there are diagnostic versions, 16- and 32-bit-specific versions, and versions that support multithread applications.
In the 16-bit specific version, only the large-memory model DLL is pro-vided. No other memory-model is supported in a 16-bit DLL.
The following table lists the Borland C++ DLL names and uses, and the operating system under which the library item is available. See the User's Guide for information on linkers, linker options, requirements, and selection of libraries.
Table 1.3: Summary of dynamic link libraries
File name Application Use
Directory of BC41BIN
BC40RTL.DLL Win 16 16-bit, large-memory model
BIDS40.DLL Win 16 16-bit, BIDS
BIDS40D.DLL Win 16 16-bit, diagnostic BIDS BIDS40F.DLL Win32s, Win32 32-bit BIDS
BIDS40DF.DLL Win32s, Win32 32-bit diagnostic BIDS CW32.DLL Win32s, Win32 32-bit, single thread
CW32MT.DLL Win32 32-bit, multithread
LOCALE.BLL Win 16, Win32s, Win32 Locale library