Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: many CMutex objects: good idea? Pin
Alexander M.,2-Jun-04 12:55
Alexander M.,2-Jun-04 12:55 
AnswerRe: many CMutex objects: good idea? Pin
Tim Smith2-Jun-04 15:49
Tim Smith2-Jun-04 15:49 
GeneralRe: many CMutex objects: good idea? Pin
berndg2-Jun-04 20:03
berndg2-Jun-04 20:03 
GeneralGet time zone info for a network computer. Pin
LizardWiz2-Jun-04 8:40
LizardWiz2-Jun-04 8:40 
GeneralRe: Get time zone info for a network computer. Pin
David Crow2-Jun-04 9:27
David Crow2-Jun-04 9:27 
GeneralRe: Get time zone info for a network computer. Pin
LizardWiz2-Jun-04 11:22
LizardWiz2-Jun-04 11:22 
GeneralRe: Get time zone info for a network computer. Pin
David Crow3-Jun-04 2:53
David Crow3-Jun-04 2:53 
QuestionWhy is my overlapped WriteFile blocking? Pin
JT Anderson2-Jun-04 8:28
JT Anderson2-Jun-04 8:28 
I have a named pipe client that is using overlapped I/O on a handle
registered with an I/O completion port. There was a bug in the server that
was causing it to never read the named pipe, which in turn caused me to
notice that the overlapped WriteFile call in the client was getting blocked.
My overlapped ReadFile calls are not being blocked.

After fixing the server bug, it appears that the WriteFile calls are always
completing before WriteFile returns. I never seem to get ERROR_IO_PENDING
back on a write. The write completion events ARE being properly posted to
the IOCP.

I did open the named pipe with FILE_FLAG_OVERLAPPED. (If I hadn't, I don't
think the overlapped reads would be working properly.)

Any suggestions?


--------
There are 10 types of people in this world. Those who know binary and those who don't.
Generalstrng to CString Pin
kfaday2-Jun-04 8:00
kfaday2-Jun-04 8:00 
GeneralRe: strng to CString Pin
David Crow2-Jun-04 8:04
David Crow2-Jun-04 8:04 
GeneralRe: strng to CString Pin
kfaday2-Jun-04 8:29
kfaday2-Jun-04 8:29 
Questionhow to create a pop up menu Pin
kfaday2-Jun-04 7:10
kfaday2-Jun-04 7:10 
AnswerRe: how to create a pop up menu Pin
David Crow2-Jun-04 7:33
David Crow2-Jun-04 7:33 
GeneralRe: how to create a pop up menu Pin
kfaday2-Jun-04 8:51
kfaday2-Jun-04 8:51 
GeneralRe: how to create a pop up menu Pin
David Crow2-Jun-04 9:31
David Crow2-Jun-04 9:31 
GeneralRe: how to create a pop up menu Pin
kfaday2-Jun-04 16:51
kfaday2-Jun-04 16:51 
GeneralRe: how to create a pop up menu Pin
David Crow3-Jun-04 2:23
David Crow3-Jun-04 2:23 
GeneralRe: how to create a pop up menu Pin
kfaday3-Jun-04 2:26
kfaday3-Jun-04 2:26 
GeneralRe: how to create a pop up menu Pin
David Crow3-Jun-04 2:44
David Crow3-Jun-04 2:44 
GeneralRe: how to create a pop up menu Pin
kfaday3-Jun-04 6:34
kfaday3-Jun-04 6:34 
Generalreaching other classes Pin
deniz79s2-Jun-04 7:07
deniz79s2-Jun-04 7:07 
GeneralRe: reaching other classes Pin
David Crow2-Jun-04 7:54
David Crow2-Jun-04 7:54 
GeneralGDI+ and ::InvertRect Pin
zhuyie_cn2-Jun-04 6:54
zhuyie_cn2-Jun-04 6:54 
QuestionHow can I add an icon in MS Outlook for a contact ? Pin
Istvan Kozma2-Jun-04 6:09
Istvan Kozma2-Jun-04 6:09 
AnswerRe: How can I add an icon in MS Outlook for a contact ? Pin
toroso732-Jun-04 9:20
toroso732-Jun-04 9:20 

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.