Global Call API for HMP on Windows Programming Guide — August 2006 139
12
12.Building Applications
This chapter provides general information for build applications that use the Global Call software.
For additional technology-specific information, refer to the appropriate Global Call Technology
Guide. Topics included in this chapter are:
Compiling and Linking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
12.1 Compiling and Linking
An application that uses the Global Call software must include references to the Global Call header
files and must include the appropriate library files. In addition, when using specific protocols, other
libraries and protocol modules are dynamically loaded. The Windows libraries may be linked and
run using Microsoft Visual C++ (version 6.x or later). The following topics provide more
information:
Include Files
Required Libraries
Variables for Compiling and Linking Commands
Dynamically Loaded Libraries

12.1.1 Include Files

The following header files contain equates that are required for each application that uses the
Global Call library:
gclib.h
primary Global Call header file
gcerr.h
header file containing equates for error codes
Note: See the appropriate Global Call Technology Guide for technology-specific header files.

12.1.2 Required Libraries

The following library files must be linked to the application:
libgc.lib
the primary Global Call library file.
libdxxmt.lib
the primary Voice library file. This library is only required if the application uses voice library
functions directly, for example, dx_play().