Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 500
   
4-16
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 4      Building Your Application
Using the C++ CIL and Static Libraries
The Program Setting in Visual C++ 7.1(1) are accessed under the Project -> Properties menu:
Within the Project Settings dialog, select the C/C++ tab, select "General" and then select “Additional 
include Directories”. Provide either the absolute or relative path to find the header files (.h) required for 
your application. This path should point to the CTIOSToolkit\Win32 CIL\Include directory, where the 
CIL header files are installed.
Within the Property Pages dialog, select the C/C++ folder. Select Code Generation. For a Debug Mode 
program, the setting for “Runtime Library” should be “Multi-threaded Debug DLL (/MDd)”. For a 
Release Mode program, the setting should be “Multi-threaded DLL (/MD).”
Next, under the “Proprocessor,” you will need to set the "Preprocessor Definitions". You will need to 
provide the compiler with the following define constants 
_USE_NUMERIC_KEYWORDS=0;_WIN32_WINNT=0x0500; WIN32_LEAN_AND_MEAN in 
addition to the suggested by default.