Click here to Skip to main content
15,392,858 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to hide scrollbar? Pin
includeh1010-Feb-06 5:42
Memberincludeh1010-Feb-06 5:42 
QuestionSpeed again Pin
hint_5410-Feb-06 3:40
Memberhint_5410-Feb-06 3:40 
AnswerRe: Speed again Pin
toxcct10-Feb-06 3:45
Membertoxcct10-Feb-06 3:45 
GeneralRe: Speed again Pin
hint_5410-Feb-06 3:55
Memberhint_5410-Feb-06 3:55 
GeneralRe: Speed again Pin
hint_5410-Feb-06 4:07
Memberhint_5410-Feb-06 4:07 
GeneralRe: Speed again Pin
David Crow10-Feb-06 4:24
MemberDavid Crow10-Feb-06 4:24 
GeneralRe: Speed again Pin
hint_5410-Feb-06 4:28
Memberhint_5410-Feb-06 4:28 
GeneralRe: Speed again Pin
David Crow10-Feb-06 4:36
MemberDavid 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
MemberNemanja Trifunovic10-Feb-06 5:24 
GeneralRe: Speed again Pin
hint_5410-Feb-06 6:24
Memberhint_5410-Feb-06 6:24 
AnswerRe: Speed again Pin
Jim Crafton10-Feb-06 6:37
MemberJim Crafton10-Feb-06 6:37 
AnswerRe: Speed again Pin
Remco Hoogenboezem10-Feb-06 8:05
MemberRemco Hoogenboezem10-Feb-06 8:05 
GeneralRe: Speed again Pin
hint_5410-Feb-06 8:23
Memberhint_5410-Feb-06 8:23 
QuestionLock files over 2Gb 64 bit Pin
hardchip10-Feb-06 3:06
Memberhardchip10-Feb-06 3:06 
AnswerRe: Lock files over 2Gb 64 bit Pin
Bob Stanneveld10-Feb-06 3:30
MemberBob 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
MemberSpykraft10-Feb-06 2:56 
AnswerRe: win32 error Pin
ThatsAlok13-Feb-06 21:35
MemberThatsAlok13-Feb-06 21:35 
QuestionHOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
sourabh27231810-Feb-06 2:37
Membersourabh27231810-Feb-06 2:37 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
David Crow10-Feb-06 2:41
MemberDavid Crow10-Feb-06 2:41 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
Maximilien10-Feb-06 2:44
MemberMaximilien10-Feb-06 2:44 
GeneralRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
Jim Crafton10-Feb-06 6:38
MemberJim Crafton10-Feb-06 6:38 
AnswerRe: HOW TO ACCESS CHILDFRAME VARIABLES INTO CHILDVIEW Pin
ThatsAlok13-Feb-06 21:34
MemberThatsAlok13-Feb-06 21:34 
Questionhow to access childframe data into childview Pin
sourabh27231810-Feb-06 2:23
Membersourabh27231810-Feb-06 2:23 
AnswerRe: how to access childframe data into childview Pin
David Crow10-Feb-06 2:38
MemberDavid 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.