COM Port event handling

Hi all,

I am trying to use COM port by writing codes using combinations of DCB, CreateFile, ReadFile, WriteFile, CreateEvent, WaitCommEvent etc. I also want to monitor EV_RLSDS event for detecting carrier (which is well known as CD you know).

My questions are,

1. Can I use MSComm control for all these purposes or not

2. Is there any limitation of using MSComm control instead of code

Your suggestions will be appreciated.

Thanks.

-efarook




Answer this question

COM Port event handling