Click here to Skip to main content
15,889,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: reading stdout Pin
Albert Holguin3-Apr-14 7:26
professionalAlbert Holguin3-Apr-14 7:26 
AnswerRe: reading stdout Pin
Randor 3-Apr-14 8:37
professional Randor 3-Apr-14 8:37 
QuestionAre MFC Timer(s) bad for performance in large projects (Vc++) Pin
C3D13-Apr-14 2:23
professionalC3D13-Apr-14 2:23 
AnswerRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Albert Holguin3-Apr-14 3:33
professionalAlbert Holguin3-Apr-14 3:33 
AnswerRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Stefan_Lang3-Apr-14 3:52
Stefan_Lang3-Apr-14 3:52 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Albert Holguin3-Apr-14 4:06
professionalAlbert Holguin3-Apr-14 4:06 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Heng Xiangzhong7-Apr-14 19:34
Heng Xiangzhong7-Apr-14 19:34 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Stefan_Lang7-Apr-14 21:35
Stefan_Lang7-Apr-14 21:35 
What are you talking about? Timers do not have bad performance! Timers don't waste CPU! All they do is read some hardware register. We're talking nanoseconds here!

Keep in mind that almost all timer functions can measure at a resolution of only about 20-50ms at best, even though the unit typically used for the result value is in ms. Calling them more often then 100 times a second is therefore utterly pointless and stupid. Calling them less often will not result in any performance loss that you are able to measure!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

Point in case: http://www.infoq.com/news/2014/02/apple_gotofail_lessons[^]

GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Heng Xiangzhong7-Apr-14 23:17
Heng Xiangzhong7-Apr-14 23:17 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Stefan_Lang7-Apr-14 23:49
Stefan_Lang7-Apr-14 23:49 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Heng Xiangzhong8-Apr-14 0:56
Heng Xiangzhong8-Apr-14 0:56 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Stefan_Lang8-Apr-14 1:39
Stefan_Lang8-Apr-14 1:39 
GeneralRe: Are MFC Timer(s) bad for performance in large projects (Vc++) Pin
Heng Xiangzhong8-Apr-14 2:04
Heng Xiangzhong8-Apr-14 2:04 
QuestionAdd MFC support to ATL COM DLL project Pin
john56322-Apr-14 23:53
john56322-Apr-14 23:53 
AnswerRe: Add MFC support to ATL COM DLL project Pin
Richard MacCutchan3-Apr-14 0:01
mveRichard MacCutchan3-Apr-14 0:01 
GeneralRe: Add MFC support to ATL COM DLL project Pin
john56323-Apr-14 1:18
john56323-Apr-14 1:18 
GeneralRe: Add MFC support to ATL COM DLL project Pin
Richard MacCutchan3-Apr-14 1:29
mveRichard MacCutchan3-Apr-14 1:29 
GeneralRe: Add MFC support to ATL COM DLL project Pin
john56323-Apr-14 1:54
john56323-Apr-14 1:54 
GeneralRe: Add MFC support to ATL COM DLL project Pin
Richard MacCutchan3-Apr-14 2:51
mveRichard MacCutchan3-Apr-14 2:51 
QuestionHow to know no message in WindowProc callback function? Pin
cedricvictor2-Apr-14 16:34
cedricvictor2-Apr-14 16:34 
AnswerRe: How to know no message in WindowProc callback function? Pin
Richard MacCutchan2-Apr-14 21:32
mveRichard MacCutchan2-Apr-14 21:32 
QuestionImage processing discussion forum? Pin
Vaclav_31-Mar-14 8:49
Vaclav_31-Mar-14 8:49 
AnswerRe: Image processing discussion forum? Pin
SoMad31-Mar-14 9:55
professionalSoMad31-Mar-14 9:55 
AnswerRe: Image processing discussion forum? Pin
Chris Losinger31-Mar-14 10:37
professionalChris Losinger31-Mar-14 10:37 
AnswerRe: Image processing discussion forum? Pin
leon de boer1-Apr-14 5:21
leon de boer1-Apr-14 5:21 

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.