示例
以下示例展示了如何断开 ZIEWin 仿真器会话与主机的连接。
Dim autECLConnList as Object
Set autECLConnList = CreateObject("ZIEWin.autECLConnList")
'Start the first session
autECLConnList.Refresh
autECLConnList(1).StartCommunication()
'
'Interact programmatically with host
'
autECLConnList.Refresh
'Stop the first session
autECLConnList(1).StartCommunication()