How to use TAPIEx ActiveX Control v2.5 in VC ?

Tutorial

1. VC IDE, menu "New"-> "projects" -> "MFC AppWizard(exe)", in the AppWizard make sure the "ActiveX Controls" selection is checked.

2. in the dialog design, mouse right click-> "Insert ActiveX Control"-> select our control "TAPIEx class" , now you can see our control place in the form.

3. "ClassWizard"->"Member Variables" ->select our control IDs
(eg:IDC_TAPEX_B1) -> Click "Add Variable..."

4.Confirm Classes, select all , click OK

5.Add Member Variable, name it(eg:m_TAPIEx) , click OK.

Now you can access our control by its name.