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

C / C++ / MFC

 
AnswerRe: Memo datatype gives error in Recordset Pin
ahmad_ali20-Jun-07 4:35
ahmad_ali20-Jun-07 4:35 
AnswerRe: Memo datatype gives error in Recordset Pin
shivditya20-Jun-07 4:51
shivditya20-Jun-07 4:51 
QuestionC++ Timing, Profiler and timers Pin
wings219-Jun-07 5:45
wings219-Jun-07 5:45 
AnswerRe: C++ Timing, Profiler and timers Pin
softwaremonkey19-Jun-07 6:09
softwaremonkey19-Jun-07 6:09 
QuestionRe: C++ Timing, Profiler and timers Pin
wings220-Jun-07 6:30
wings220-Jun-07 6:30 
AnswerRe: C++ Timing, Profiler and timers Pin
Nemanja Trifunovic19-Jun-07 6:11
Nemanja Trifunovic19-Jun-07 6:11 
AnswerRe: C++ Timing, Profiler and timers Pin
David Crow19-Jun-07 6:11
David Crow19-Jun-07 6:11 
AnswerRe: C++ Timing, Profiler and timers Pin
Iain Clarke, Warrior Programmer19-Jun-07 6:21
Iain Clarke, Warrior Programmer19-Jun-07 6:21 
I'll save you some trouble...

There's almost no chance whatsoever that your routing is getting reliably called every millisecond. Like WM_PAINT, WM_TIMER is only generated if the message queue is quiet.

If you just want it "as often as I can, and at most 1000 times a second", then you might be lucky.

Otherwise, you're going to have to use a separate thread, and some mechanism like waitable timers. If you are *REALLY* insistent on the interval, then windows is not going to be real time enough for deterministic real time behaviour...


Hopefully this gives you some parallel thoughts, even if it went nowhere near answering your question,

Iain.



AnswerRe: C++ Timing, Profiler and timers Pin
Force Code19-Jun-07 9:45
Force Code19-Jun-07 9:45 
GeneralRe: C++ Timing, Profiler and timers Pin
Force Code19-Jun-07 9:53
Force Code19-Jun-07 9:53 
GeneralRe: C++ Timing, Profiler and timers Pin
Mark Salsbery19-Jun-07 10:03
Mark Salsbery19-Jun-07 10:03 
GeneralRe: C++ Timing, Profiler and timers [modified] Pin
Force Code19-Jun-07 10:45
Force Code19-Jun-07 10:45 
GeneralRe: C++ Timing, Profiler and timers Pin
Mark Salsbery19-Jun-07 10:57
Mark Salsbery19-Jun-07 10:57 
GeneralRe: C++ Timing, Profiler and timers Pin
Force Code19-Jun-07 11:06
Force Code19-Jun-07 11:06 
GeneralRe: C++ Timing, Profiler and timers Pin
Mark Salsbery19-Jun-07 11:17
Mark Salsbery19-Jun-07 11:17 
GeneralRe: C++ Timing, Profiler and timers Pin
Force Code19-Jun-07 11:30
Force Code19-Jun-07 11:30 
QuestionSwitching to administrator programmatically Pin
softwaremonkey19-Jun-07 5:39
softwaremonkey19-Jun-07 5:39 
JokeRe: Switching to administrator programmatically Pin
shivditya19-Jun-07 5:50
shivditya19-Jun-07 5:50 
AnswerRe: Switching to administrator programmatically Pin
David Crow19-Jun-07 6:16
David Crow19-Jun-07 6:16 
QuestionGetting version information into a DLL using manually created .rc file Pin
Barry True19-Jun-07 5:20
Barry True19-Jun-07 5:20 
AnswerRe: Getting version information into a DLL using manually created .rc file Pin
Iain Clarke, Warrior Programmer19-Jun-07 6:27
Iain Clarke, Warrior Programmer19-Jun-07 6:27 
GeneralRe: Getting version information into a DLL using manually created .rc file Pin
Barry True19-Jun-07 8:48
Barry True19-Jun-07 8:48 
GeneralRe: Getting version information into a DLL using manually created .rc file Pin
Iain Clarke, Warrior Programmer19-Jun-07 10:59
Iain Clarke, Warrior Programmer19-Jun-07 10:59 
QuestionDebug to detect Memory Leak Pin
krishnakumar7519-Jun-07 5:09
krishnakumar7519-Jun-07 5:09 
QuestionRe: Debug to detect Memory Leak Pin
Mark Salsbery19-Jun-07 6:39
Mark Salsbery19-Jun-07 6:39 

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.