140 Global Call API for HMP on Windows Programming Guide — August 2006
Building Applications
12.1.3 Variables for Compiling and Linking Commands
The following variables provide a standardized way of referencing the directories that contain
header files and shared objects:
INTEL_DIALOGIC_INC
Variable that points to the directory where header files are stored.
INTEL_DIALOGIC_LIB
Variable that points to the directory where shared library files are stored.
These variables are automatically set at login and should be used in compiling and linking
commands. The following is an example of a compiling and linking command that uses these
variables:
cc -I${INTEL_DIALOGIC_INC} -o myapp myapp.c -L${INTEL_DIALOGIC_LIB} -lgc
Note: It is strongly recommended that developers use these variables when compiling and linking
applications. The names of the variables will remain constant, but the values may change over time.
12.1.4 Dynamically Loaded Libraries
When the gc_Start( ) function is called, the configured library or libraries that are used by the
application are dynamically loaded. The libraries include:
libdm3cc.dll (for E1, T1 and ISDN technologies)
DM3 call control library
libgch3r.dll
IP call control library
libgcipm.dll
IP call control library
If a configured library cannot be found, the Global Call API enters an error message in the event
logger.