-
Make sure the TeleTools v3.6 is installed and the etTT36.ocx file is currently register.
-
Make sure that the TeleTools v3.7 ActiveX (etTT37.ocx) is NOT
resisted.
if both versions of the TeleTools ActiveX are registered then Visual C++ will be
confused when selecting controls from within the ActiveX.
-
Open the workspace in Visual C++ 6.
-
Make note of all of the TeleTools controls' events; (etLine, etPhone, etPlay and etRecord).
-
Make note of all of the TeleTools controls' methods
-
Make note of all of the TeleTools controls' property values. Including the ID's.
-
Delete all of the TeleTools controls.
-
Delete the following hearer and source code files from the project and
harddrive:
| etLine.h |
etLine.cpp |
| etPhone.h |
etPhone.cpp |
| etPlay.h |
etPlay.cpp |
| etRecord.h |
etRecord.cpp |
| strings.h |
strings.cpp |
-
Unregister the TeleTools v3.6 ActiveX. For example:
regsvr32 /u "C:\Program
Files\ExceleTel\TeleTools\3.6\Bin\ActiveX\etTT36.ocx"
-
Register the TeleTools v3.7 ActiveX. For example:
regsvr32 /u "C:\Program
Files\ExceleTel\TeleTools\3.7\Bin\ActiveX\etTT37.ocx"
-
Import the TeleTools v3.7 controls to palette by selecting the menu option:
"Project | Add To project | Components and Controls | Registered ActiveX Controls"
During import you are prompted to select names for the et cpp and h files, make sure they match the names from step # 8 for each control.
-
The event sink map will need to change because new events have been added to the TeleTools v3.7 controls.
The following is an example of the EVENTSINK_MAP before the upgrade to v3.7:
BEGIN_EVENTSINK_MAP(CCallerIDDlg,
CDialog)
//{{AFX_EVENTSINK_MAP(CCallerIDDlg)
ON_EVENT(CCallerIDDlg, IDC_ETLINE1, 5 /* OnCallerID */, OnCallerIDEtline1, VTS_I4)
//}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()
The following is an example of the EVENTSINK_MAP after the upgrade to v3.7:
BEGIN_EVENTSINK_MAP(CCallerIDDlg,
CDialog)
//{{AFX_EVENTSINK_MAP(CCallerIDDlg)
ON_EVENT(CCallerIDDlg, IDC_ETLINE1, 7 /* OnCallerID */, OnCallerIDEtline1, VTS_I4)
//}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()
The safest way to make sure that the event sink map is updated properly is to remove all of the events and recreate them. The following is one method of doing this:
A. Perform these steps for each event handler
routine, one at a time.
B. Delete the ON_EVENT reference in the EVENTSINK_MAP section.
C. Delete the event handler routine reference in the related header file.
D. Recreate the event handler routine as normal.
-
Check the TeleTools v3.7 release notes for events and methods that have changed
parameters and make the appropriate changes.