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

下载
页码 640
C-9
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 Visual Basic 6.0 to Use COM CIL
Step 4
Porting Event Handlers to Visual Basic .NET
Visual Basic .NET now adheres to the event model defined by the .NET 
Framework that is based on delegates. The delegates’ model in .NET changes the 
arguments of the events received by a client application such that all the event 
handlers that your application had implemented events for any of the CTIOS 
ActiveX controls will require adhering to the new model.
The migration tool does some work at migrating the event handlers but not always 
is accurate for this reason the developer is advised to add new event handlers using 
the Visual Basic.NET IDE and move the code in the ported handlers to the new 
added handlers.