Cisco Cisco Computer Telephony Integration OS 8.5 开发者指南

下载
页码 490
   
4-16
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 4      Building Your Application
Using the C++ CIL and Static Libraries
You access the Program Setting in Visual C++ 8.0(1) under the Project > Properties menu.
In 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 points to the CTIOSToolkit\Win32 CIL\Include directory, where the CIL header 
files are installed.
In the Property Pages dialog, select the C/C++ folder. Select Code Generation. For a Debug Mode 
program, the setting for “Runtime Library” is “Multi-threaded Debug DLL (/MDd)”. For a Release 
Mode program, the setting is “Multi-threaded DLL (/MD).”
Under the “Preprocessor,” 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. 
You must set the following settings 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