Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Weird namespace alias resolution problem in VC++ 2003 Pin
Mark Salsbery14-Nov-07 9:30
Mark Salsbery14-Nov-07 9:30 
AnswerRe: Weird namespace alias resolution problem in VC++ 2003 [modified] Pin
snowfall114-Nov-07 16:39
snowfall114-Nov-07 16:39 
QuestionAppoint help: [modified] Pin
Hakan Bulut14-Nov-07 6:37
Hakan Bulut14-Nov-07 6:37 
AnswerRe: Appoint help: Pin
Janzen14-Nov-07 7:14
Janzen14-Nov-07 7:14 
GeneralRe: Appoint help: Pin
Hakan Bulut14-Nov-07 7:34
Hakan Bulut14-Nov-07 7:34 
GeneralRe: Appoint help: Pin
led mike14-Nov-07 7:48
led mike14-Nov-07 7:48 
GeneralRe: Appoint help: Pin
Mark Salsbery14-Nov-07 8:02
Mark Salsbery14-Nov-07 8:02 
GeneralRe: Appoint help: Pin
Hakan Bulut14-Nov-07 8:05
Hakan Bulut14-Nov-07 8:05 
GeneralRe: Appoint help: Pin
led mike14-Nov-07 8:51
led mike14-Nov-07 8:51 
GeneralRe: Appoint help: Pin
Hakan Bulut15-Nov-07 5:39
Hakan Bulut15-Nov-07 5:39 
AnswerRe: Appoint help: Pin
Mark Salsbery14-Nov-07 7:32
Mark Salsbery14-Nov-07 7:32 
GeneralRe: Appoint help: [modified] Pin
Hakan Bulut14-Nov-07 7:47
Hakan Bulut14-Nov-07 7:47 
GeneralRe: Appoint help: Pin
Mark Salsbery14-Nov-07 8:01
Mark Salsbery14-Nov-07 8:01 
Question.PCH size slowing compilation? Pin
hairy_hats14-Nov-07 6:25
hairy_hats14-Nov-07 6:25 
AnswerRe: .PCH size slowing compilation? Pin
toxcct14-Nov-07 6:28
toxcct14-Nov-07 6:28 
QuestionAsynchronous overlapped I/O Pin
racette14-Nov-07 5:07
racette14-Nov-07 5:07 
AnswerRe: Asynchronous overlapped I/O Pin
led mike14-Nov-07 5:21
led mike14-Nov-07 5:21 
racette wrote:
The IPC mechanism we chose is the named pipes.


racette wrote:
If a ReadFile or WriteFile call returns false, and that GetLastError() returns ERROR_IO_PENDING, what should I do to make sure the data is written or read entirely?

Should I call GetOverlappedResult()?

Does a call to GetOverlappedResult() keeps on reading or writing or should I call WriteFile or ReadFile again and again until its done?

Should I wait for the event that was specified to the Overlapped structure?


So you chose Named pipes before you knew how they worked? Interesting. There should be numerous articles and tutorials on using Overlapped IO on MSDN and probably here in the articles on CodeProject. Look around sometime, you might find you get what you need.



GeneralRe: Asynchronous overlapped I/O Pin
racette14-Nov-07 5:39
racette14-Nov-07 5:39 
GeneralRe: Asynchronous overlapped I/O Pin
led mike14-Nov-07 6:30
led mike14-Nov-07 6:30 
GeneralRe: Asynchronous overlapped I/O Pin
racette14-Nov-07 8:54
racette14-Nov-07 8:54 
GeneralRe: Asynchronous overlapped I/O [modified] Pin
led mike14-Nov-07 10:49
led mike14-Nov-07 10:49 
GeneralRe: Asynchronous overlapped I/O Pin
racette14-Nov-07 11:13
racette14-Nov-07 11:13 
GeneralRe: Asynchronous overlapped I/O Pin
led mike14-Nov-07 11:45
led mike14-Nov-07 11:45 
GeneralRe: Asynchronous overlapped I/O Pin
racette14-Nov-07 11:54
racette14-Nov-07 11:54 
GeneralRe: Asynchronous overlapped I/O Pin
led mike15-Nov-07 4:29
led mike15-Nov-07 4:29 

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.