This event is kicked when message has been sent successfully or has been failed to send. It is kicked after final block in case of multi-block message. All the messages are deleted when this event has been invoked, whatever the result of send process is succeeded or failed (garbage collection). Send order is from older one to newer one (FIFO=First In, First Out), so event order is the same with calling order of Send Method.
Syntax
|
Sub Written (pszMsg As String, bOK As Boolean)
|
|
void OnWritten(LPCTSTR pszMsg, BOOL bOK);
|
pszMsg | Hexadecimal formatted ASCII string message. |
bOK | If send process is succeeded, ActiveX returns True(=1). If failure, then False(=0) will be set. In case of False, it means ActiveX has already tried to send for retry count times. |
Return Value
Example
Remarks
See Also
|