Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
4-2
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 4 Building Your Application
Setting Up Your Environment for .NET
The .NET CIL and the runtime callable wrappers (RCWs) are installed in the Global Assembly Cache
(GAC) by the setup program such that all the components are available to any of the sample included in
the toolkit and any new application in development. In the recommended environment settings for
building .NET applications using the CTI OS toolkit, however, there are additional configuration steps
for integration with the development environment.
(GAC) by the setup program such that all the components are available to any of the sample included in
the toolkit and any new application in development. In the recommended environment settings for
building .NET applications using the CTI OS toolkit, however, there are additional configuration steps
for integration with the development environment.
Integrating with Microsoft Visual Studio .NET 2003
In order to access the .NET CIL and the RCWs directly from Visual Studio. NET 2003 you need to add
the following configuration to your environment.
the following configuration to your environment.
Adding CTIOS Toolkit 7.1(1) Components to the “Add Reference” Dialog Box
In Visual Studio .NET 2003 you have the ability to select class libraries and assemblies from the .NET
tab of the “Add Reference Dialog”. This facilitates the development process and always allows you to
use the correct version of the components.
tab of the “Add Reference Dialog”. This facilitates the development process and always allows you to
use the correct version of the components.
In order to enable the .NET CIL class libraries to appear on the Add References dialog, follow the steps
described in:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskaddingremovingrefe
rences.asp
described in:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskaddingremovingrefe
rences.asp
Add a new key named CiscoCtiOsDotNetCil under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.X\AssemblyFolders
The Default value should be set to the full qualified path of the location on which .NET CIL was
installed. For example
installed. For example
D:\Program Files\Cisco Systems\CTIOS Client\CTIOS Toolkit\dotNet CIL\Class Libraries
Note
7.X should be the actual version of Microsoft Visual Studio .NET 2003 you have installed
Also, to enable the Cisco CTI OS RCWs, repeat the steps described before only this time Add a new key
named CiscoCtiOsRCWs under
named CiscoCtiOsRCWs under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.X\AssemblyFolders
The Default value should be set to the full qualified path of the location on which the RCWs were
installed. For example
D:\Program Files\Cisco Systems\CTIOS Client\CTIOS Toolkit\Win32 CIL\.NETInterops
Note
7.X should be the actual version of Microsoft Visual Studio .NET 2003 you have installed
Adding Cisco CTI OS ActiveX 7.1(1) Controls to the Toolbox
The Visual Studio .NET 2003 IDE allow visual editing of Windows Forms based applications toolbox
of visual components available. Since Windows Forms applications are native, the visual components
are also native. However, it still is possible to use ActiveX controls and they can also be included in the
toolbox.
of visual components available. Since Windows Forms applications are native, the visual components
are also native. However, it still is possible to use ActiveX controls and they can also be included in the
toolbox.