Linking

For Win32

The SNACLI.LIB library must be linked with the application.

The DMOD is implemented as a DLL. SNACLI.LIB contains import definitions for the APIs in the DLL, and some global variables required for the logging and tracing macros.

For OS/2

The COMCLI.LIB library must be linked with the application.

The DMOD is implemented as a DLL. COMCLI.LIB contains import definitions for the APIs in the DLL, and some global variables required for the logging and tracing macros.

For Windows version 3.x

The WINCLI.LIB and WLOGTR.LIB libraries must be linked with the application.

The DMOD is implemented as a DLL. WINCLI.LIB contains import definitions for the APIs in the DLL, and some global variables required for the logging and tracing macros. WLOGTR.LIB contains import definitions for log and trace routines.

For MS-DOS

The DOSACS.LIB library must be linked with the application. It contains DL_BASE, DMOD, and diagnostics code.

For all operating systems

It is possible to create a DLL that is dynamically loaded when the user starts a session for an LU. In this case, to make the log and trace macros available, the application structure needs to be as shown below: