Documentation
(C) IBM Corp. 1996, 1999

Text Extender: Administration and Programming


Setting up your application

An application program that uses the Text Extender API is a DB2 CLI application, because some of the API functions require a database connection handle as input. This means that the rules that have to be considered for DB2 CLI applications apply also to applications that use the Text Extender API.

In your application, include des_ext.h which is provided in the include subdirectory of the Text Extender installation directory.

To use your application program with the Text Extender API, link your program to the API.

Linking a UNIX application

You must link the library libdescl.a to your application. This library is in the lib subdirectory of the Text Extender installation directory.

Linking an OS/2 or a Windows application

All Text Extender API functions are contained in the dynamic link library desclapi.dll. The external API function calls are resolved in the import library desclapi.lib. These are provided in the dll and lib subdirectories, respectively, of the Text Extender installation directory.

To link your application with the API dynamic link library desclapi.dll, use desclapi.lib as library file.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]