Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLPT Listener using thread Pin
TPN26-Sep-07 21:05
TPN26-Sep-07 21:05 
AnswerRe: LPT Listener using thread Pin
Cedric Moonen26-Sep-07 22:19
Cedric Moonen26-Sep-07 22:19 
GeneralRe: LPT Listener using thread Pin
TPN27-Sep-07 0:44
TPN27-Sep-07 0:44 
GeneralRe: LPT Listener using thread Pin
Cedric Moonen27-Sep-07 4:34
Cedric Moonen27-Sep-07 4:34 
GeneralRe: LPT Listener using thread Pin
TPN27-Sep-07 19:53
TPN27-Sep-07 19:53 
AnswerRe: LPT Listener using thread Pin
Rahul Vaishnav27-Sep-07 1:13
Rahul Vaishnav27-Sep-07 1:13 
GeneralRe: LPT Listener using thread Pin
TPN27-Sep-07 19:57
TPN27-Sep-07 19:57 
GeneralRe: LPT Listener using thread Pin
JudyL_MD28-Sep-07 1:59
JudyL_MD28-Sep-07 1:59 
If the particular pin isn't one of the ones that is monitored by WaitCommEvent, there is no built-in notification mechanism. Short of writing a parallel port driver to implement notification, try putting your busy-wait loop into a seperate thread that runs at a lower priority than the rest of your program.

Judy

GeneralRe: LPT Listener using thread Pin
JudyL_MD28-Sep-07 2:03
JudyL_MD28-Sep-07 2:03 
AnswerRe: LPT Listener using thread Pin
David Crow27-Sep-07 3:30
David Crow27-Sep-07 3:30 
AnswerRe: LPT Listener using thread Pin
Rahul Vaishnav2-Oct-07 20:07
Rahul Vaishnav2-Oct-07 20:07 
Questiona pointer Pin
youbo26-Sep-07 21:01
youbo26-Sep-07 21:01 
AnswerRe: a pointer Pin
youbo26-Sep-07 21:31
youbo26-Sep-07 21:31 
GeneralRe: a pointer Pin
toxcct26-Sep-07 21:39
toxcct26-Sep-07 21:39 
AnswerRe: a pointer Pin
toxcct26-Sep-07 21:35
toxcct26-Sep-07 21:35 
GeneralRe: a pointer Pin
John R. Shaw26-Sep-07 21:52
John R. Shaw26-Sep-07 21:52 
GeneralRe: a pointer Pin
toxcct26-Sep-07 21:54
toxcct26-Sep-07 21:54 
GeneralRe: a pointer Pin
John R. Shaw26-Sep-07 23:12
John R. Shaw26-Sep-07 23:12 
AnswerRe: a pointer Pin
baerten26-Sep-07 21:37
baerten26-Sep-07 21:37 
GeneralRe: a pointer Pin
youbo26-Sep-07 21:45
youbo26-Sep-07 21:45 
GeneralRe: a pointer [modified] Pin
Russell'26-Sep-07 22:29
Russell'26-Sep-07 22:29 
GeneralRe: a pointer Pin
toxcct26-Sep-07 22:44
toxcct26-Sep-07 22:44 
GeneralRe: a pointer Pin
Russell'26-Sep-07 22:56
Russell'26-Sep-07 22:56 
QuestionUrgent - How to identify given image is too dark or light Pin
sujtha26-Sep-07 20:51
sujtha26-Sep-07 20:51 
AnswerRe: Urgent - How to identify given image is too dark or light Pin
Waldermort26-Sep-07 21:00
Waldermort26-Sep-07 21:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.