ThbComPort is a serial communication component. Use ThbComPort component
to easily communicate with external devices on RS232 connection, such
as modems, bar code readers, PBX and so on. ThbComPort introduces several
properties for detailed setting of serial port, numerous methods to write
and read from port and events for monitoring port. Write and read operations
are performed synchronously.
ThbComPort can also be used in conjunction with ThbTapiLine to send and receive
data via a TAPI connection. When a call is in the connected state,
TAPI provides you with a handle, that can be used to send and receive
binary data using the standard Windows functions. Pass this handle to
the ThbComPort.Handle property
and activate the component by setting ThbComPort.Active
to True - Now you can use the Read and Write methods of ThbComPort to communicate
with the remote party.