Is TComTerminal Required?

  • Anonymous - 2013-02-06

    I've got CPorLib working tremendously well for me, even compiled with 64 bit, but I notice that it only works if I add a TComTerminal to my application and link it to the TComPort component.

    Is there any way I can make this work without a visual component?

  • Stephen Gaunt

    Stephen Gaunt - 2013-02-06

    Yes of course it will work without the TComTerminal!
    Load up ComExample.dpr from the examples folder, this will give you lots of clues for using the component.
    If your incoming messages will be fixed length then also look at linking a TComDataPacket component to the CPort

  • Anonymous - 2013-02-06

    It was a simple matter of turning (back) on "TriggersOnRxChar", which can't be on if you link the TComTerminal.  I was also using OnRxBuf instead as the event, but this wasn't being triggered without ComTerminal attached.  Switching to OnRxChar helps me more.

    All good now :)  Thanks for your help.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks