Click here to Skip to main content
16,012,468 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting closer.. Pin
21-Feb-01 6:22
suss21-Feb-01 6:22 
GeneralRe: Getting closer.. Pin
l a u r e n21-Feb-01 6:52
l a u r e n21-Feb-01 6:52 
GeneralRe: Getting closer.. Pin
22-Feb-01 3:30
suss22-Feb-01 3:30 
QuestionHighlight CWnd? Pin
19-Feb-01 10:27
suss19-Feb-01 10:27 
AnswerRe: Highlight CWnd? Pin
l a u r e n19-Feb-01 10:57
l a u r e n19-Feb-01 10:57 
GeneralRe: Highlight CWnd? Pin
ov19-Feb-01 22:04
ov19-Feb-01 22:04 
GeneralRe: Highlight CWnd? Pin
20-Feb-01 2:10
suss20-Feb-01 2:10 
GeneralNon-overlapped serial comms Pin
Joe Moldovan19-Feb-01 5:47
Joe Moldovan19-Feb-01 5:47 
I have opened a comm port for non-overlapped I/O and set up a thread to watch for read events with WaitCommEvent. I have my main thread doing writes with WriteFile. Neither thread uses any windows.

The problem is that the WriteFile seems to be blocked by the WaitCommEvent in the background thread. This makes sense for file I/O but for serial comms the read and write operations should be completely independent and not block each other. I can overcome this by using overlapped I/O but it complicates things horribly.

Question: Does anyone know of a way to stop the comm Wait from blocking a non-overlapped serial write?

GeneralSoftware Mix of Sound Pin
Datacrime19-Feb-01 2:34
Datacrime19-Feb-01 2:34 
GeneralRe: Software Mix of Sound Pin
.::RockNix::.19-Feb-01 21:07
.::RockNix::.19-Feb-01 21:07 
GeneralRe: Software Mix of Sound Pin
Datacrime19-Feb-01 22:27
Datacrime19-Feb-01 22:27 
GeneralRe: Software Mix of Sound Pin
Joe Moldovan19-Feb-01 23:55
Joe Moldovan19-Feb-01 23:55 
GeneralRe: Software Mix of Sound Pin
Datacrime20-Feb-01 4:01
Datacrime20-Feb-01 4:01 
GeneralIDirectSound and linker error LNK2001 Pin
19-Feb-01 0:51
suss19-Feb-01 0:51 
GeneralBitmapped Buttons with A Color Transparency. Pin
18-Feb-01 23:40
suss18-Feb-01 23:40 
GeneralRe: Bitmapped Buttons with A Color Transparency. Pin
Christian Graus19-Feb-01 0:05
protectorChristian Graus19-Feb-01 0:05 
GeneralRe: Bitmapped Buttons with A Color Transparency. Pin
19-Feb-01 0:33
suss19-Feb-01 0:33 
GeneralRe: Bitmapped Buttons with A Color Transparency. Pin
Christian Graus19-Feb-01 10:56
protectorChristian Graus19-Feb-01 10:56 
GeneralRe: Bitmapped Buttons with A Color Transparency. Pin
19-Feb-01 21:37
suss19-Feb-01 21:37 
QuestionColoured message boxes? Pin
Sachin18-Feb-01 23:36
Sachin18-Feb-01 23:36 
QuestionHow can I show a tooltip automatically without mouse movement Pin
Sachin18-Feb-01 23:31
Sachin18-Feb-01 23:31 
AnswerRe: How can I show a tooltip automatically without mouse movement Pin
l a u r e n19-Feb-01 6:28
l a u r e n19-Feb-01 6:28 
GeneralRe: Maybe, possible ? Pin
Masaaki Onishi19-Feb-01 9:52
Masaaki Onishi19-Feb-01 9:52 
GeneralRe: Maybe, possible ? Pin
l a u r e n19-Feb-01 11:08
l a u r e n19-Feb-01 11:08 
GeneralCreate a MDB Database Pin
18-Feb-01 22:31
suss18-Feb-01 22:31 

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.