Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
4-17
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, you need to set the link settings for your project, under the Link folder. You must list all the static 
libraries (in the section 
) for your program to link with the 
settings described in 
. The libraries required for CIL (in 
addition to the default libraries) are described in the section 
.
Finally, on the Link folder, select “General” to “Input.” You will need to set the “Additional Library 
Directories:” to the location of the CTIOSToolkit\Win32 CIL\Libs directory:
The foregoing are all the Project Settings required for CTI OS. Click OK, and save your project settings. 
Subscribing for Events in C++
Events interfaces are provided in C++ using the publisher-subscriber model. To subscribe for events, you 
must create a callback class (event sink), or implement the event interface in your main class. The 
callback class can be derived from the Adapter classes defined in CIL.h, such as 
AllInOneEventsAdapter.h.