Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to hide scrollbar? Pin
includeh1010-Feb-06 5:42
includeh1010-Feb-06 5:42 
QuestionSpeed again Pin
hint_5410-Feb-06 3:40
hint_5410-Feb-06 3:40 
AnswerRe: Speed again Pin
toxcct10-Feb-06 3:45
toxcct10-Feb-06 3:45 
GeneralRe: Speed again Pin
hint_5410-Feb-06 3:55
hint_5410-Feb-06 3:55 
GeneralRe: Speed again Pin
hint_5410-Feb-06 4:07
hint_5410-Feb-06 4:07 
GeneralRe: Speed again Pin
David Crow10-Feb-06 4:24
David Crow10-Feb-06 4:24 
GeneralRe: Speed again Pin
hint_5410-Feb-06 4:28
hint_5410-Feb-06 4:28 
GeneralRe: Speed again Pin
David Crow10-Feb-06 4:36
David Crow10-Feb-06 4:36 
Not when what you are wanting to measure happens in just a few ms. You can increase the number of times the loop executes (e.g., 250,000) to verify that it is being timed.

To get a little more granularity, you can use the multimedia timers.

Also check out QueryPerformanceCounter() and its API.

Because Windows is not a RTOS, you'll do no better than about 10ms for a Windows NT-based machine.


"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli


GeneralRe: Speed again Pin
Nemanja Trifunovic10-Feb-06 5:24
Nemanja Trifunovic10-Feb-06 5:24 
GeneralRe: Speed again Pin
hint_5410-Feb-06 6:24
hint_5410-Feb-06 6:24 
AnswerRe: Speed again Pin
Jim Crafton10-Feb-06 6:37
Jim Crafton10-Feb-06 6:37 
AnswerRe: Speed again Pin
Remco Hoogenboezem10-Feb-06 8:05
Remco Hoogenboezem10-Feb-06 8:05 
GeneralRe: Speed again Pin
hint_5410-Feb-06 8:23
hint_5410-Feb-06 8:23 
QuestionLock files over 2Gb 64 bit Pin
hardchip10-Feb-06 3:06
hardchip10-Feb-06 3:06 
AnswerRe: Lock files over 2Gb 64 bit Pin
Bob Stanneveld10-Feb-06 3:30
Bob Stanneveld10-Feb-06 3:30 
AnswerRe: Lock files over 2Gb 64 bit Pin
Joe Woodbury10-Feb-06 6:41
professionalJoe Woodbury10-Feb-06 6:41 
Questionwin32 error Pin
Spykraft10-Feb-06 2:56
Spykraft10-Feb-06 2:56 
AnswerRe: win32 error Pin
ThatsAlok13-Feb-06 21:35
ThatsAlok13-Feb-06 21:35 
QuestionHOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
sourabh27231810-Feb-06 2:37
sourabh27231810-Feb-06 2:37 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
David Crow10-Feb-06 2:41
David Crow10-Feb-06 2:41 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
Maximilien10-Feb-06 2:44
Maximilien10-Feb-06 2:44 
GeneralRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
Jim Crafton10-Feb-06 6:38
Jim Crafton10-Feb-06 6:38 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
ThatsAlok13-Feb-06 21:34
ThatsAlok13-Feb-06 21:34 
Questionhow to access childframe data into childview Pin
sourabh27231810-Feb-06 2:23
sourabh27231810-Feb-06 2:23 
AnswerRe: how to access childframe data into childview Pin
David Crow10-Feb-06 2:38
David Crow10-Feb-06 2:38 

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.