Visual C++ 6 Technical Information

Product Information
Supported Versions
Sample Programs
Project Setup
Upgrading TeleTools 

Supported Version

ExceleTel TeleTools v3.7 works with virtually all Windows development environments that support ActiveX technology.  This includes Visual C++ 6.

Sample Programs

Click here for a complete list available sample programs provided by ExceleTel.

Here is a list of sample programs available for Visual C++ 6:

 

Project Setup

The steps to create all sample projects within Visual C++ 6 are as follows:

  1. Run Visual Studio 6

  2. Create a new project.

  3. Import the TeleTools v3.7 controls to palette by selecting the menu option:
    "Project | Add To project | Components and Controls | Registered ActiveX Controls"

The TeleTools controls will be visible in the Tool Box. Look for the following icons:

etLine

etPhone

etPlay

etRecord

You are now ready to add the TeleTools controls to your form(s).

Be sure to review the information in the sections Creating Controls Design-Time, Creating Controls at Run-Time and Why Serial Numbers Are Important section. This will explain how to use the AboutLoadSerialNumber properties to set the AboutSerialNumber properties.

Before using a TeleTools control it must be enabled. This is done by setting the Enabled or EnableControl property to True.

Upgrading TeleTools

Upgrading from TeleTools v3.6 to v3.7

  1. Make sure the TeleTools v3.6 is installed and the etTT36.ocx file is currently register.

  2. 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.

  3. Open the workspace in Visual C++ 6.

  4. Make note of all of the TeleTools controls' events; (etLine, etPhone, etPlay and etRecord).

  5. Make note of all of the TeleTools controls' methods

  6. Make note of all of the TeleTools controls' property values. Including the ID's.

  7. Delete all of the TeleTools controls.

  8. 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
  9. Unregister the TeleTools v3.6 ActiveX. For example:
       regsvr32 /u "C:\Program Files\ExceleTel\TeleTools\3.6\Bin\ActiveX\etTT36.ocx"

  10. Register the TeleTools v3.7 ActiveX. For example:
       regsvr32 /u "C:\Program Files\ExceleTel\TeleTools\3.7\Bin\ActiveX\etTT37.ocx"

  11. 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.

  12. 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.

  13. Check the TeleTools v3.7 release notes for events and methods that have changed parameters and make the appropriate changes.