Click here to Skip to main content
15,919,422 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconstructor related questions Pin
kumar_mk22-May-06 17:51
kumar_mk22-May-06 17:51 
AnswerRe: constructor related questions Pin
Ryan Binns22-May-06 18:23
Ryan Binns22-May-06 18:23 
AnswerRe: constructor related questions Pin
Laxman Auti22-May-06 18:38
Laxman Auti22-May-06 18:38 
Questionhow to system dpi in code Pin
chethu66522-May-06 17:16
chethu66522-May-06 17:16 
AnswerRe: how to system dpi in code Pin
_AnsHUMAN_ 22-May-06 17:59
_AnsHUMAN_ 22-May-06 17:59 
AnswerRe: how to system dpi in code Pin
Ryan Binns22-May-06 18:25
Ryan Binns22-May-06 18:25 
QuestionIOCompletion port basic question Pin
followait22-May-06 17:15
followait22-May-06 17:15 
AnswerRe: IOCompletion port basic question Pin
bob1697222-May-06 18:39
bob1697222-May-06 18:39 
With IOCP, you don't wait on anything (at least not in the form of a blocking call or anything like that) as the commands return immediately.

You post your commands such as WSASend and WSARecv and your worker thread(s) get called with the CompletionPortID when they complete. Thats when you call GetQueuedCompletionStatus() and process your data buffers and then issue a new command and such. Your thread(s) should never block with IOCP but if one does, the other remaining thread(s) will pick up the slack.

It's really beautiful in concept though I've never quite gotten my multithreading skills honed enough to fully appreciate it under heavy load without some form of thread lockup issues. There are a few good articles on it here at CP. There was a Win2000 system programming book (now out of print) by Jeffery Richter and Jason Clark titled "Programming Server-Side Applications for Microsoft Windows 2000
" that has some pretty good information on them in general.
QuestionProblem adding control buttons in a Cformview class dialog page Pin
thathvamsi22-May-06 16:47
thathvamsi22-May-06 16:47 
AnswerRe: Problem adding control buttons in a Cformview class dialog page Pin
Nibu babu thomas22-May-06 18:15
Nibu babu thomas22-May-06 18:15 
GeneralRe: Problem adding control buttons in a Cformview class dialog page Pin
thathvamsi22-May-06 18:19
thathvamsi22-May-06 18:19 
AnswerRe: Problem adding control buttons in a Cformview class dialog page Pin
Ryan Binns22-May-06 18:27
Ryan Binns22-May-06 18:27 
AnswerRe: Problem adding control buttons in a Cformview class dialog page Pin
Hamid_RT22-May-06 19:43
Hamid_RT22-May-06 19:43 
QuestionFAQ for an interview in Multithreading/C++ Pin
AryaSoft22-May-06 16:05
AryaSoft22-May-06 16:05 
AnswerRe: FAQ for an interview in Multithreading/C++ Pin
kumar_mk22-May-06 17:46
kumar_mk22-May-06 17:46 
AnswerRe: FAQ for an interview in Multithreading/C++ Pin
AryaSoft23-May-06 7:45
AryaSoft23-May-06 7:45 
AnswerRe: FAQ for an interview in Multithreading/C++ Pin
Laxman Auti22-May-06 18:13
Laxman Auti22-May-06 18:13 
AnswerRe: FAQ for an interview in Multithreading/C++ Pin
AryaSoft23-May-06 7:46
AryaSoft23-May-06 7:46 
QuestionAdd and Remove Program Pin
_anil_22-May-06 16:03
_anil_22-May-06 16:03 
QuestionEnumDisplayDevices Pin
zaro33322-May-06 15:39
zaro33322-May-06 15:39 
AnswerRe: EnumDisplayDevices Pin
_anil_22-May-06 16:41
_anil_22-May-06 16:41 
AnswerRe: EnumDisplayDevices Pin
zaro33323-May-06 4:56
zaro33323-May-06 4:56 
GeneralRe: EnumDisplayDevices Pin
zaro33323-May-06 4:58
zaro33323-May-06 4:58 
GeneralRe: EnumDisplayDevices Pin
zaro33323-May-06 5:01
zaro33323-May-06 5:01 
GeneralRe: EnumDisplayDevices [modified] Pin
_anil_23-May-06 15:05
_anil_23-May-06 15:05 

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.