Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
Appendix C      Migrating From CTI OS 6.0
Migrating a COM CIL Application
C-4
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Step 1
Port Build Project
Using your development environment utilities port your current application build 
project to the new platform compatible with Microsoft C\C++ 7.0 and made all 
the adjustments required by the vendor. For example, to port your Microsoft 
Visual C++ 6.0 *.dsp project file to the new Microsoft Visual C++ 7.0 *.vcproj 
format, open the  *.dsp project selecting Open\ Project from the File command 
menu in Microsoft Visual Studio .NET. For details refer to Microsoft’s Visual 
Studio.NET help on Visual C++ Porting and Upgrading 
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_
vc_porting_home.asp)
Step 2
Set New Compilation Parameters
a.
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. 
b.
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.0 is targeted for to 
the Win32 platform.
c.
Enable Buffer Security Check in the project Code Generation Settings
Migrating a Visual Basic 6.0 to use COM CIL
For applications written with Visual Basic 6.0 that use the COM CIL there are two 
migration options available from which the developer needs to choose:
Warning
Make sure that the Cisco CTI OS 7.0 Toolkit is installed in your development 
environment before you initiate any migration task.
  •
Migrate to Visual Basic .NET and use .NET CIL
  •
Migrate to Visual Basic .NET and use .COM CIL