ZComm Review
Properties __property AnsiString Port = {read=FPort, write=FPort};
__property AnsiString BaudRate = {read=FBaudRate, write=FBaudRate};
__property AnsiString Parity = {read=FParity, write=FParity};
__property AnsiString DataBits = {read=FDataBits, write=FDataBits};
__property AnsiString StopBits = {read=FStopBits, write=FStopBits};
__property AnsiString FlowCtl = {read=FFlowCtl, write=FFlowCtl};
__property long BufferSize = {read=FBufferSize, write=FBufferSize, default = 8192};
__property int State = {read=FState};
__property AnsiString Version = {read=FVersion, write = FXVersion};
__property BOOL Connected = {read=FConnected};

__property unsigned long MaxReadLength = {read=FBufferSize, write=FBufferSize};
__property unsigned long InputQueueSize = {read=FInputQ, write=FInputQ, default = 8192 };
__property unsigned long OutputQueueSize = {read=FOutputQ, write=FOutputQ};
__property unsigned int XOnLimit = {read = FXOnLimit, write = FXOnLimit, default = 150 };
__property unsigned int XOffLimit = {read = FXOffLimit, write = FXOffLimit, default = 150 };

__property Boolean CTSFlowCtl = {read = FCTSFlow, write=FCTSFlow };
__property Boolean DSRFlowCtl = {read = FDSRFlow, write=FDSRFlow };
__property Boolean EnableParity = {read = FEnableParity, write = FEnableParity};
__property Boolean DSRSensitive = {read = FDSRSensitive, write=FDSRSensitive };
__property Boolean TXResume = {read = FTXResume, write=FTXResume, default = FALSE };
__property Boolean XOuputFlowCtl = {read = FOuputX, write=FOuputX , default = TRUE };
__property Boolean XInputFlowCtl = {read = FInputX, write=FInputX, default = TRUE };
__property Boolean ErrorReplace = {read = FErrorReplace, write=FErrorReplace };
__property Boolean DiscardNULL = {read = FDiscardNULL, write=FDiscardNULL };
__property Boolean AbortOnError = {read = FAbortOnError, write=FAbortOnError};
__property char ErrorChar = {read = FErrorChar, write = FErrorChar };
__property char XOnChar = {read = FXOnChar, write = FXOnChar, default = ASCII_XON };
__property char XOffChar = {read = FXOffChar, write = FXOffChar, default = ASCII_XOFF };

__property unsigned long TimeoutReadInterval = { read = FTOReadInterval, write = FTOReadInterval,default = 0xFFFFFFFF};
__property unsigned long TimeoutReadMultiplier = { read = FTOReadMultiplier , write = FTOReadMultiplier, default = 0 };
__property unsigned long TimeoutReadConstant = { read = FTOReadConstant, write = FTOReadConstant, default = 0};
__property unsigned long TimeoutWriteMultiplier = { read = FTOWriteMultiplier , write = FTOWriteMultiplier, default = 0};
__property unsigned long TimeoutWriteConstant = { read = FTOWriteConstant, write = FTOWriteConstant, default = 5000};
Methods BOOL __fastcall TZComm::OpenConnection();
BOOL __fastcall TZComm::SetConnection();
BOOL __fastcall TZComm::CloseConnection();
BOOL __fastcall TZComm::WriteComm(unsigned char *buffer, long length);
BOOL __fastcall TZComm::WriteCommByte(unsigned char c);
long __fastcall TZComm::ReadComm(unsigned char *buffer, long max_length);
BOOL __fastcall TZComm::EscapeComm(unsigned long param);
BOOL __fastcall TZComm::SetTimeouts();
BOOL __fastcall TZComm::GetTimeouts();
BOOL __fastcall TZComm::PurgeCommPort(unsigned long);
Events OnDataAvailable

OnErrorOccurred