Cisco Cisco Computer Telephony Integration Option 8.5 Guía Del Desarrollador
C-5
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Appendix C Migrating From CTI OS 6.0
Migrating a COM CIL Application
Migrate to Visual Basic .NET and use .NET CIL
Since Visual Basic .NET applications by default target the .NET Framework, port
the entire application to use native .NET components. For this task the developer
will use the .NET CIL as replacement of COM CIL.
the entire application to use native .NET components. For this task the developer
will use the .NET CIL as replacement of COM CIL.
Step 1
Port Build Project
Using your development environment utilities port your current application build
project to the new platform compatible with Visual Basic .NET and made all the
adjustments required by migration tool. For example, to port the Microsoft Visual
Basic 6.0 *.vbp project to the new Microsoft Visual Basic .NET.vbproj format,
open the *.vbp 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 Basic Concepts
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vb
oriUpgradingFromVisualBasic60.asp)
project to the new platform compatible with Visual Basic .NET and made all the
adjustments required by migration tool. For example, to port the Microsoft Visual
Basic 6.0 *.vbp project to the new Microsoft Visual Basic .NET.vbproj format,
open the *.vbp 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 Basic Concepts
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vb
oriUpgradingFromVisualBasic60.asp)
Step 2
Use .NET CIL to Replace COM CIL
After the project migration tool finishes a report will be presented containing the
tasks to be performed in order to make the application build under Visual Basic
.NET.
tasks to be performed in order to make the application build under Visual Basic
.NET.
In the new project, replace all the references to COM and will add new references
for .NET CIL
for .NET CIL
For detailed guidance on how to use the .NET CIL the developer must refer to the
CTI Toolkit Combo Desktop .NET sample.
CTI Toolkit Combo Desktop .NET sample.
Migrate to Visual Basic .NET and use .COM CIL
For applications that the require to use COM CIL in a Visual Basic .NET
application, it was provided a set of Primary Interop Assemblies (PIAs) to allow
the VB.NET code call interact with COM CIL objects and events. The interop
assemblies for COM CIL are installed in the Global Assembly Cash (GAC) by the
Cisco CTI OS 7.0 setup program.
application, it was provided a set of Primary Interop Assemblies (PIAs) to allow
the VB.NET code call interact with COM CIL objects and events. The interop
assemblies for COM CIL are installed in the Global Assembly Cash (GAC) by the
Cisco CTI OS 7.0 setup program.
Step 1
Port Build Project