Click here to Skip to main content
15,897,718 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: reading stdout Pin
Chris Losinger3-Apr-14 7:08
professionalChris Losinger3-Apr-14 7:08 
AnswerRe: reading stdout Pin
Albert Holguin3-Apr-14 7:15
professionalAlbert Holguin3-Apr-14 7:15 
GeneralRe: reading stdout Pin
Chris Losinger3-Apr-14 7:17
professionalChris Losinger3-Apr-14 7:17 
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 
Using anything in an inappropriate way may be bad for performance. Using it correctly shouldn't.

Your question isn't so much about timers being bad in general, but about the proper use of one. The size of the application has nothing got to do with it at all.

As for our opinion: it's impossile to tell if you're not more specific. It's ironic how you're asking for specific answers, yet fail to offer the minimal information required to answer the question properly. There are plenty of timer interfaces that you might use, you didn't specify yours.

As for GetTickCount, that is a bad way to measure performance since it only checks the system time, not the time your application uses: if other applications are running at the same time and slowing the whole system down, you'll get much higher values! If your purpose is to measure program performance, a more suitable function to use would be clock()[^]
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
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 
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 

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.