Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
4-14
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 4      Building Your Application
Using the C++ CIL and Static Libraries
Next Steps
For detailed information on the CTI OS client start up and shut down sequence, see section 
For detailed information on the CTI OS Client Interface Library objects, see Chapters 8 through 12.
The C++ Client Interface Library (C++ CIL.) application is a programming interface (API) used to 
build high performance CTI enabled desktop or server-to-server integration that use Cisco CTI OS. 
The API is deployed as a set of C++ static libraries and is use to build Win 32 or console based 
applications.
For a complete sample application that uses the CIL COM interface written in C++, see the 
Comphone sample application on the CTI OS CD.
Using the C++ CIL and Static Libraries
Note
All C++ applications using C++ CIL 8.0(1) must be built using Visual Studio .NET 2005. 
Applications using C++ CIL 8.0(1) built with Visual Studio .NET 2003 are not supported.
The CTI OS Client Interface Library for C++ is the most powerful, object-oriented CTI interface for C++ 
developers.  It provides the same interface methods and events as the COM interface for C++, but will 
be more straightforward for C++ developers who are not experienced COM programmers, and will 
provide faster code execution.
The CIL interface for C++ is a set of C++ header files (.h), and static libraries compiled for the Win32 
platform (Windows NT, Windows 2000). The header files required to access the class definitions are 
located on the CTI OS SDK media in the CTIOSToolkit\Include\ directory, and the static libraries are 
located in the CTI OS Toolkit\Win32 CIL\Libs directory. 
Header Files and Libraries
The header files you will most likely require are all included in the main CIL header file, CIL.h, which 
you would want to include in your application. 
#include <Cil.h>
To link your application code with the CIL for C++, you will require the following C++ static libraries:
ConnectionLibSpd.lib.  This library contains the connection-layer services for CIL.
ServiceLibSpd.lib. This library contains the service-layer services for CIL. 
SessionLib.lib. This library contains the object-interface services for CIL.
UtilLibSpd.lib. This library contains helper classes for CIL.
ArgumentsLibSpd.lib. This library contains the Arguments data structure for CIL.
SilentMonitorLib.lib. This library contains all the services required to establish and control silent 
monitor sessions. 
SecuritySpd.Lib. This library contains the services required to establish secure connections with 
CTI OS Server. 
SilentMonitorClient.lib. This library is used by the CIL to communicate with the silent monitor service.