When you say "It does not stop waiting," do you mean WaitCommEvent() never returns?

Kuphryn