Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Asynchronous overlapped I/O Pin
racette16-Nov-07 7:29
racette16-Nov-07 7:29 
GeneralRe: Asynchronous overlapped I/O Pin
led mike16-Nov-07 20:43
led mike16-Nov-07 20:43 
GeneralRe: Asynchronous overlapped I/O Pin
racette19-Nov-07 7:23
racette19-Nov-07 7:23 
GeneralRe: Asynchronous overlapped I/O Pin
led mike19-Nov-07 7:49
led mike19-Nov-07 7:49 
GeneralRe: Asynchronous overlapped I/O Pin
racette19-Nov-07 8:33
racette19-Nov-07 8:33 
GeneralRe: Asynchronous overlapped I/O Pin
racette19-Nov-07 8:49
racette19-Nov-07 8:49 
GeneralRe: Asynchronous overlapped I/O Pin
racette23-Nov-07 4:16
racette23-Nov-07 4:16 
GeneralRe: Asynchronous overlapped I/O Pin
led mike26-Nov-07 4:56
led mike26-Nov-07 4:56 
GeneralRe: Asynchronous overlapped I/O Pin
racette26-Nov-07 7:07
racette26-Nov-07 7:07 

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.