Altigen AltiAgent ActiveX Manual do Utilizador Página 4

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 12
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 3
AltiClient ActiveX Programmer’s Guide 4
5. In the Add Member Variable dialog, create a member variable named m_altictrl.
6. Click OK to add it to the class. m_altictrl is now a member of CAltiCtrl.
Now, VC has created a member in class CExampleVcDlg which can be used as a general object.
AltiAgent ActiveX Control API Reference
StartAltiCtrl
Description
Start AltiCtrl on the client. This is the first step to use this AltiCtrl.
VC++ Syntax
BOOL StartAltiCtrl()
VB++ Syntax
object.StartAltiCtrl()
Return type
BOOL TRUE if connect to AltiAgent successfully; otherwise FALSE.
Remark
This function is the key of using AltiCtrl. Client cannot call the method or get any event from
AltiAgent if this function call fails.
VC++ Example
BOOL bstart= m_altictrl.StartAltiCtrl();
VB Example
Dim bstart as bool
bstart = AltiCtrl1.StartAltiCtrl()
AltiCtrl Event
CallNotify
Description
When AltiView/AltiAgent 5.0 receives a call event from AltiServ, AltiCtrl will send the event to
your application, each call will have an unique session ID, each call may several events with its
unique session ID.
Syntax
OnCallNotifyXXXXX (long ulSessionID, short uStatus, LPCTSTR
szCallerID, LPCTSTR szCallerName, LPCTSTR szCallDNIS, LPCTSTR
szWorkgroup, LPCTSTR pszDateTime, LPCTSTR pszDuration)
Vista de página 3
1 2 3 4 5 6 7 8 9 10 11 12

Comentários a estes Manuais

Sem comentários