Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Joining 2 values with wcsncat_s Pin
Chris Losinger26-Dec-11 10:59
professionalChris Losinger26-Dec-11 10:59 
GeneralRe: Joining 2 values with wcsncat_s Pin
jkirkerx26-Dec-11 11:13
professionaljkirkerx26-Dec-11 11:13 
QuestionNetwork Utilization Pin
john563225-Dec-11 22:13
john563225-Dec-11 22:13 
AnswerRe: Network Utilization Pin
Richard MacCutchan26-Dec-11 6:57
mveRichard MacCutchan26-Dec-11 6:57 
AnswerRe: Network Utilization Pin
Randor 26-Dec-11 12:17
professional Randor 26-Dec-11 12:17 
QuestionDetect keypress count Pin
juver escolta23-Dec-11 6:04
juver escolta23-Dec-11 6:04 
AnswerRe: Detect keypress count Pin
CPallini23-Dec-11 7:34
mveCPallini23-Dec-11 7:34 
AnswerRe: Detect keypress count Pin
Luc Pattyn24-Dec-11 2:21
sitebuilderLuc Pattyn24-Dec-11 2:21 
CPallini wrote:
You cannot reach the 1 millisecond resolution on Windows (at least in user code).

Of course you can. You won't get it in each and every way you could try, however there are ways to get pretty good timing resolution and accuracy (could be close to the microsecond). Here are two of them:
- multimedia timers, with timeSetEvent() from winMM.dll;
- performance counters, with QueryPerformanceCounter() from kernel32.dll

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Detect keypress count Pin
CPallini24-Dec-11 3:59
mveCPallini24-Dec-11 3:59 
AnswerRe: Detect keypress count Pin
Luc Pattyn24-Dec-11 4:06
sitebuilderLuc Pattyn24-Dec-11 4:06 
GeneralRe: Detect keypress count Pin
CPallini24-Dec-11 4:42
mveCPallini24-Dec-11 4:42 
QuestionRe: Detect keypress count Pin
David Crow23-Dec-11 9:28
David Crow23-Dec-11 9:28 
AnswerRe: Detect keypress count Pin
Gary R. Wheeler23-Dec-11 23:56
Gary R. Wheeler23-Dec-11 23:56 
AnswerRe: Detect keypress count Pin
Lactoferrin24-Dec-11 1:45
Lactoferrin24-Dec-11 1:45 
AnswerRe: Detect keypress count Pin
Software_Developer24-Dec-11 4:54
Software_Developer24-Dec-11 4:54 
QuestionHow GetObjectSchema() to work ? Pin
André Dewispelaere23-Dec-11 3:43
André Dewispelaere23-Dec-11 3:43 
AnswerRe: How GetObjectSchema() to work ? Pin
Mohibur Rashid26-Dec-11 22:13
professionalMohibur Rashid26-Dec-11 22:13 
QuestionHow to Delete A Node with its all Child in XML File ? Pin
002comp22-Dec-11 23:18
002comp22-Dec-11 23:18 
AnswerRe: How to Delete A Node with its all Child in XML File ? Pin
CPallini22-Dec-11 23:40
mveCPallini22-Dec-11 23:40 
AnswerRe: How to Delete A Node with its all Child in XML File ? Pin
jschell23-Dec-11 10:01
jschell23-Dec-11 10:01 
QuestionFinding an item in linked list (CList) Pin
VCProgrammer22-Dec-11 19:00
VCProgrammer22-Dec-11 19:00 
AnswerRe: Finding an item in linked list (CList) Pin
Richard MacCutchan22-Dec-11 22:45
mveRichard MacCutchan22-Dec-11 22:45 
SuggestionRe: Finding an item in linked list (CList) Pin
David Crow23-Dec-11 3:35
David Crow23-Dec-11 3:35 
GeneralRe: Finding an item in linked list (CList) Pin
Richard MacCutchan23-Dec-11 4:46
mveRichard MacCutchan23-Dec-11 4:46 
AnswerRe: Finding an item in linked list (CList) Pin
smileangle27-Dec-11 13:37
smileangle27-Dec-11 13:37 

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.