Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

VaComm mode change at runtime feasibility

 Post Reply Post Reply
Author
Jelonek Edward View Drop Down
New Member
New Member
Avatar

Joined: 25 Feb 2020
Posts: 5
Post Options Post Options   Quote Jelonek Edward Quote  Post ReplyReply Direct Link To This Post Topic: VaComm mode change at runtime feasibility
    Posted: 24 Mar 2020 at 10:34am
Is it possible to change the operating mode of VaComm at runtime by switching the various MonitorEvents ON or OFF? If so, What is the appropriate code syntax required to gain access to the MonitorEvents switches. I have tried various approaches but the compiler (C++ Builder 10.3 Community Edition) rejects them. Could you please give an example?

Regards.
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 9195
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 24 Mar 2020 at 3:40pm
MonitorEvents is a set:

  TVaCommEvent = (ceBreak, ceCts, ceDsr, ceError, ceRing, ceRlsd,
    ceRxChar, ceTxEmpty, ceRxFlag, cePErr, ceRx80Full, ceEvent1,
    ceEvent2);
  TVaCommEvents = set of TVaCommEvent;

Using Delphi sets from C++Builder is explained here:
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down