Cisco Cisco Computer Telephony Integration OS 8.5 Guida Dello Sviluppatore
C-2
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Appendix C Migrating From CTI OS 6.0
Migrating a COM CIL Application
b.
Add _USE_NUMERIC_KEYWORDS=0 to the preprocessor definitions setting for the C\C++
compiler settings. CTIOS 7.1(1) has been improved to use a more efficient format for transmitting
arguments arrays to and from CTIOS Server. This definition is required by CIL C++ for its
appropriate performance. If not specified the application will behave in an unexpected manner that
can lead to a sudden halt or assertion.
compiler settings. CTIOS 7.1(1) has been improved to use a more efficient format for transmitting
arguments arrays to and from CTIOS Server. This definition is required by CIL C++ for its
appropriate performance. If not specified the application will behave in an unexpected manner that
can lead to a sudden halt or assertion.
c.
Add _WIN32_WINNT=0x0500 to the preprocessor definitions setting for the C\C++ compiler
settings. C++ CIL was build targeting the Win32 platform so your application must be compiled for
this platform only.
settings. C++ CIL was build targeting the Win32 platform so your application must be compiled for
this platform only.
d.
Disable 64-bit portability check options to avoid issues with pointers during compilation. Microsoft
Visual Studio.NET by default targets the Windows XP platform that is enhanced to support 64-bit
enabled applications. All the libraries and code provided with Cisco CTIOS Toolkit 7.1(1) is
targeted for to the Win32 platform.
Visual Studio.NET by default targets the Windows XP platform that is enhanced to support 64-bit
enabled applications. All the libraries and code provided with Cisco CTIOS Toolkit 7.1(1) is
targeted for to the Win32 platform.
e.
Enable Buffer Security Check in the project Code Generation Settings
Step 3
Set new Linker Parameters
In C++ CIL 7.1(1) a new set of static libraries where added in order to supports secure connections from
the client to CTIOS Server. The new libraries are:
the client to CTIOS Server. The new libraries are:
•
Debug Mode
libeay32d.lib, ssleay32d.lib, Securityd.lib
•
Release Mode
libeay32r.lib, ssleay32r.lib, SecuritySpd.lib
a.
In the Debug configuration specify the following static link libraries
–
CTIOS C++ CIL Libraries
libeay32d.lib, ssleay32d.lib, Securityd.lib, UtilLibd.lib, Argumentslibd.lib, Connectionlibd.lib,
Servicelibd.lib, Sessionlibd.lib, SilentMonitorLibd.lib,
Servicelibd.lib, Sessionlibd.lib, SilentMonitorLibd.lib,
–
Win32 System Libraries
ws2_32.lib, Winmm.lib
b.
In the Release configuration specify the following static link libraries:
Note
The names of libraries in release mode changed in C++ CIL 7.1(1) and now they include the
suffix “spd” to indicate the libraries were optimized for speed.
suffix “spd” to indicate the libraries were optimized for speed.
–
CTIOS C++ CIL Libraries
libeay32r.lib, ssleay32r.lib, SecuritySpd.lib, ConnectionLibSpd.lib, UtilLibSpd.lib,
ArgumentsLibSpd.lib, ServiceLibSpd.lib, Sessionlib.lib, SilentMonitorLib.lib
ArgumentsLibSpd.lib, ServiceLibSpd.lib, Sessionlib.lib, SilentMonitorLib.lib
–
Win32 System Libraries
ws2_32.lib,Winmm.lib
Migrating a COM CIL Application
Migrating a C++ Application that uses COM CIL
A C++ application that uses COM CIL is considered an unmanaged C++ application under Visual Studio
.NET.
.NET.