Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTreeCtrl for Folders and Files Pin
Grahamfff9-Jul-04 10:02
Grahamfff9-Jul-04 10:02 
GeneralRe: TreeCtrl for Folders and Files Pin
PJ Arends10-Jul-04 9:41
professionalPJ Arends10-Jul-04 9:41 
GeneralCPropertySheet / Page question Pin
hongheo769-Jul-04 9:21
hongheo769-Jul-04 9:21 
GeneralRe: CPropertySheet / Page question Pin
PJ Arends10-Jul-04 9:45
professionalPJ Arends10-Jul-04 9:45 
GeneralNon-Blocking I/O From Within a Dialog Pin
pHaze4269-Jul-04 8:31
pHaze4269-Jul-04 8:31 
GeneralRe: Non-Blocking I/O From Within a Dialog Pin
David Crow9-Jul-04 8:40
David Crow9-Jul-04 8:40 
GeneralRe: Non-Blocking I/O From Within a Dialog Pin
pHaze4269-Jul-04 9:06
pHaze4269-Jul-04 9:06 
GeneralRe: Non-Blocking I/O From Within a Dialog Pin
David Crow9-Jul-04 9:12
David Crow9-Jul-04 9:12 
pHaze426 wrote:
I could do that, but I'd still have to have the function launching the thread wait until the serial read completed before continuing with its tasks.

Nothing wrong with that (except for the "wait" part). Once the secondary thread has completed, it would post a message to the primary thread indicating it is done. At that point, the primary thread could do what it needed with the serial port data. No waiting is necessary. Make sense?


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: Non-Blocking I/O From Within a Dialog Pin
palbano9-Jul-04 8:46
palbano9-Jul-04 8:46 
GeneralRe: Non-Blocking I/O From Within a Dialog Pin
pHaze4269-Jul-04 9:30
pHaze4269-Jul-04 9:30 
GeneralRe: Non-Blocking I/O From Within a Dialog Pin
palbano10-Jul-04 8:17
palbano10-Jul-04 8:17 
GeneralRe: Non-Blocking I/O From Within a Dialog Pin
pHaze42612-Jul-04 2:30
pHaze42612-Jul-04 2:30 
GeneralA pointer delimma (requesting help from pointer/dynamic array gurus) Pin
NTense9-Jul-04 7:45
NTense9-Jul-04 7:45 
GeneralRe: A pointer delimma (requesting help from pointer/dynamic array gurus) Pin
palbano9-Jul-04 8:13
palbano9-Jul-04 8:13 
GeneralRe: A pointer delimma (requesting help from pointer/dynamic array gurus) Pin
NTense10-Jul-04 7:22
NTense10-Jul-04 7:22 
GeneralTesting which OS I'm on Pin
Timothy Grabrian9-Jul-04 6:15
professionalTimothy Grabrian9-Jul-04 6:15 
GeneralRe: Testing which OS I'm on Pin
David Crow9-Jul-04 7:01
David Crow9-Jul-04 7:01 
GeneralRe: Testing which OS I'm on Pin
palbano9-Jul-04 7:04
palbano9-Jul-04 7:04 
GeneralRe: Testing which OS I'm on Pin
jmkhael9-Jul-04 7:05
jmkhael9-Jul-04 7:05 
GeneralRe: Testing which OS I'm on Pin
Michael Dunn9-Jul-04 10:05
sitebuilderMichael Dunn9-Jul-04 10:05 
GeneralRe: Testing which OS I'm on Pin
ThatsAlok9-Jul-04 19:25
ThatsAlok9-Jul-04 19:25 
Generaladding help to application Pin
BlackDice9-Jul-04 6:10
BlackDice9-Jul-04 6:10 
GeneralRe: adding help to application Pin
David Crow9-Jul-04 7:03
David Crow9-Jul-04 7:03 
GeneralRe: adding help to application Pin
BlackDice9-Jul-04 7:11
BlackDice9-Jul-04 7:11 
Generalfullscreening a dialog Pin
locoone9-Jul-04 4:47
locoone9-Jul-04 4:47 

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.