Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide
4-16
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
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.
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).”
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 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.
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.
The following setings must be set for the C++ compiler:
•
Preprocessor Definitions
–
Add the following two macros:
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT=1
•
Language
–
Set the parameter "Treat wchar_t as Built-in Type" to No (/Zc:wchar_t-)
•
Precompile Headers
–
Set to Not Using Precompile Headers