Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 35
CTI OS Internationalization Toolkit 
 
21 of 35 
6.2  Using the International Resource Loader in an Application 
Using the International Resource Loader API is straightforward. This section shows how to use 
the object in VB 6.0, and in C++ with COM written using ATL. 
For these examples it is assumed that two language libraries exist and were successfully 
installed. One library is for English United States (ENU,code=0x409) and the other language 
library for Spanish Mexican (ESM,code 0x80a). For installation details, see Chapter 5. 
6.2.1 Localizing a VB 6.0 Application 
1.  In your VB 6.0 Project, add a reference to the “Cisco COM CTIOS Inernational 
Resource Loader
”: 
 
2.  Create an instance of a CTI OS Internationalization Resource Loader: 
 
 
 
 
 
 
 
'CTI OS Internationalization Resource Loader 
Dim m_Intl As new INTLRESOURCELOADERLib.GetLanguage 
 
'Resource Ids for the text strings in Language Library 
Const CTIOS_AGENTPHONE_APPNAME As Long = &H702A 
Const CTIOS_AGENTPHONE_PHONELOADING As Long = &H702B 
Cisco Systems, Inc.