serial RS232 WaitCommEvent

  • Thread starter Thread starter Werner
  • Start date Start date
W

Werner

Hi

I did a serial communication in C# with P-Invoke
of the kernel32 lib.

The problem now is if I enter the WaitCommEvent-function
in a second thread, then all other functions like
WriteFile, SetCommTimeouts and so on are blocked until
some characters are receive from the other side?
If I don't call this WaitCommEvent function then
everything works fine but then I don't have the
information when a new character was received!





Thanks
Werner
 
Back
Top