Click here to Skip to main content
15,880,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Enum structure variables!! Pin
ThatsAlok26-Feb-06 21:13
ThatsAlok26-Feb-06 21:13 
GeneralRe: Enum structure variables!! Pin
Hamed Musavi27-Feb-06 21:19
Hamed Musavi27-Feb-06 21:19 
QuestionCListCtrl Pin
Hamid_RT24-Feb-06 2:58
Hamid_RT24-Feb-06 2:58 
AnswerRe: CListCtrl Pin
David Crow24-Feb-06 3:03
David Crow24-Feb-06 3:03 
GeneralRe: CListCtrl Pin
Hamid_RT24-Feb-06 3:09
Hamid_RT24-Feb-06 3:09 
AnswerRe: CListCtrl Pin
James R. Twine24-Feb-06 3:09
James R. Twine24-Feb-06 3:09 
QuestionIOCP - when a socket is closed ? Pin
yani dzhurov24-Feb-06 2:41
yani dzhurov24-Feb-06 2:41 
AnswerRe: IOCP - when a socket is closed ? Pin
James R. Twine24-Feb-06 3:02
James R. Twine24-Feb-06 3:02 
   Well, I have only used IOCPs themselves, and not associating them directly with another HANDLE-based object, so take what I write at the bottom with a grain of salt...   However, about HT processors, one of the things that many people do not understand about HT processors is that they are not the same as a real multiple-CPU system or a multi-core processor.

   HTs share an execution engine, so technically, they will compete with each other for an on-die resource (IIRC, they can decode and retire instructions at the same time, but they cannot dispatch them).  This contention may be causing unexpected things to happen with your code.  (You can find HT documentation that discusses the architecture and differences on Intel's web site.)

   Also, note that the documentation you have for GetQueuedCompletionStatus(...) may be incorrect - older docs mentioned that in the case of SOCKET closure, the function returns ERROR_SUCCESS, but the function returns a BOOL value, not a DWORD.  I think that it returns TRUE, sets the variable pointed to by lpNumberOfBytes to zero, and GetLastError() will return ERROR_SUCCESS.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
GeneralRe: IOCP - when a socket is closed ? Pin
yani dzhurov24-Feb-06 3:39
yani dzhurov24-Feb-06 3:39 
GeneralRe: IOCP - when a socket is closed ? Pin
James R. Twine24-Feb-06 4:47
James R. Twine24-Feb-06 4:47 
GeneralRe: IOCP - when a socket is closed ? Pin
George Nistor1-Aug-09 22:11
George Nistor1-Aug-09 22:11 
QuestionResizing windows Pin
Waldermort24-Feb-06 2:30
Waldermort24-Feb-06 2:30 
AnswerRe: Resizing windows Pin
David Crow24-Feb-06 2:54
David Crow24-Feb-06 2:54 
GeneralRe: Resizing windows Pin
Waldermort24-Feb-06 3:47
Waldermort24-Feb-06 3:47 
GeneralRe: Resizing windows Pin
Blake Miller24-Feb-06 6:20
Blake Miller24-Feb-06 6:20 
AnswerRe: Resizing windows Pin
Waldermort24-Feb-06 5:01
Waldermort24-Feb-06 5:01 
GeneralRe: Resizing windows Pin
Blake Miller24-Feb-06 6:23
Blake Miller24-Feb-06 6:23 
GeneralRe: Resizing windows Pin
David Crow24-Feb-06 6:24
David Crow24-Feb-06 6:24 
Questionabout UNICODE Pin
HOW WHAT24-Feb-06 2:02
HOW WHAT24-Feb-06 2:02 
AnswerRe: about UNICODE Pin
toxcct24-Feb-06 2:15
toxcct24-Feb-06 2:15 
AnswerRe: about UNICODE Pin
PJ Arends24-Feb-06 2:35
professionalPJ Arends24-Feb-06 2:35 
QuestionMedical Image Processing Pin
spyrus24-Feb-06 2:01
spyrus24-Feb-06 2:01 
AnswerRe: Medical Image Processing Pin
Divyang Mithaiwala24-Feb-06 2:33
Divyang Mithaiwala24-Feb-06 2:33 
AnswerRe: Medical Image Processing Pin
Saurabh.Garg24-Feb-06 2:53
Saurabh.Garg24-Feb-06 2:53 
GeneralRe: Medical Image Processing Pin
spyrus24-Feb-06 2:57
spyrus24-Feb-06 2:57 

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.