contents.gifindex.gifprev1.gifnext1.gif

AsyncCmdDone event

This event is described at some length in the Asynchronous methods topic. Please refer to that for a detailed discussion of asynchronous events.

The information presented to your program by this event is:

AAG90000.gif CmdCode as a short integer. This will be one of the Asynchronous completion constants described in the ActiveAG constants topic.

AAG90000.gif LineNumber as a short integer. This indicates which line (or ActiveAG instance) the asynchronous method was invoked for.

AAG90000.gif Status as a long integer. This value will be one of the status codes described in the ActiveAG Status codes topic.

AAG90000.gif Finally, a return string as a BSTR. This string is only used when the method used was the GetTouchTonesAsync method. In this case, it contains any touch-tones that were collected by the method.

Dont forget to check the Status value to determine whether the asynchronous method was successful.