 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ernst Unterlass Guest
|
Posted: Tue Nov 25, 2003 7:45 am Post subject: WaitCommEvent |
|
|
Hi
Seriell Communication Receive-Direction. I am looking for an Event-Function
( Message.. ) if the Input Buffer is full. If I try with "WaitCommEvent" (
Mask with EvtChar ) the Application ist blocked. I think I need an Interupt
Function, but I dont know how to use Interrupts in Windows. Can you give me
an example or tell me documentation about "Windows-Interupt-Examples".
Thanks!
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Nov 25, 2003 7:59 am Post subject: Re: WaitCommEvent |
|
|
"Ernst Unterlass" <ernst.unterlass (AT) page90 (DOT) at> wrote
| Quote: | If I try with "WaitCommEvent" ( Mask with EvtChar ) the
Application ist blocked.
|
You shold do your serial communications in a separate thread, then you won't
block the main thread.
Gambit
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|