VARIANT_BOOL Open()
Opens specified port. Returns TRUE
in case of success.
void Close()
This will close previously opened port.
BSTR Execute(BSTR ModemCommand)
Executes specifies command on a modem, and returns a reply. The command should be without CR or LF characted at the end. Returns empty string in case of error. See LastError
property for more information.
BSTR Read()
Reads data from a port.
long Write(BSTR Data)
Writes data to port.
VARIANT_BOOL ClearCommBreak()
See ClearCommBreak() description in MSDN for more information.
long ClearCommError()
See ClearCommError() description in MSDN for more information.
VARIANT_BOOL EscapeCommFunction(long Func)
See EscapeCommFunction() description in MSDN for more information.
long GetCommMask()
See GetCommMask() description in MSDN for more information.
long GetCommModemStatus()
See GetCommModemStatus() description in MSDN for more information.
VARIANT_BOOL PurgeComm(long)
See PurgeComm() description in MSDN for more information.
VARIANT_BOOL SetCommBreak()
See SetCommBreak() description in MSDN for more information.
VARIANT_BOOL SetupComm(long InQueue, long OutQueue)
See SetupComm() description in MSDN for more information.
VARIANT_BOOL TransmitCommChar(char C)
See TransmitCommChar() description in MSDN for more information.
VARIANT_BOOL Properties()
Pops up a Sound Control ActiveX tuning window. Returns True
if user pressed Ok button on the dialog box.
VARIANT_BOOL Register(long Code1, long Code2, long Code3)
This function unlocks program to fully registered version without any restrinctions. Code1, Code2, Code2
are numbers you have got after filling in online order form. Returns True
if specified numbers are correct, and program is registered.
void AboutBox()
Pops up About window with information about version, release date, and contact information about the control.
void OnOpened()
Modem is opened.
void OnClosed(void)
Modem is closed.
void OnEventBreak(void)
EV_BREAK hardware event received.
void OnEventCts(void)
EV_CTS hardware event received.
void OnEventDsr(void)
EV_DSR hardware event received.
void OnEventError(void)
EV_ERR hardware event received.
void OnEventRing(void)
EV_RING hardware event received.
void OnEventRlsd(void)
EV_RLSD hardware event received.
void OnEventRxChar(void)
EV_RXCHAR hardware event received.
void OnEventRxFlag(void)
EV_RXFLAG hardware event received.
void OnEventTxEmpty(void)
EV_TXEMPTY hardware event received.