Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows Mobile 5 / C++ simple question / begging Pin
Rajesh R Subramanian15-Jan-07 18:09
professionalRajesh R Subramanian15-Jan-07 18:09 
GeneralRe: Windows Mobile 5 / C++ simple question / begging Pin
Iain Clarke, Warrior Programmer15-Jan-07 22:31
Iain Clarke, Warrior Programmer15-Jan-07 22:31 
GeneralRe: Windows Mobile 5 / C++ simple question / begging [modified] Pin
Rajesh R Subramanian15-Jan-07 22:37
professionalRajesh R Subramanian15-Jan-07 22:37 
GeneralRe: Windows Mobile 5 / C++ simple question / begging Pin
Iain Clarke, Warrior Programmer16-Jan-07 3:55
Iain Clarke, Warrior Programmer16-Jan-07 3:55 
QuestionCreate DLL Single Document Application Pin
sdancer7515-Jan-07 5:25
sdancer7515-Jan-07 5:25 
QuestionGoing Loopy Pin
Waldermort15-Jan-07 4:52
Waldermort15-Jan-07 4:52 
AnswerRe: Going Loopy Pin
Roger Stoltz15-Jan-07 5:34
Roger Stoltz15-Jan-07 5:34 
GeneralRe: Going Loopy Pin
Waldermort15-Jan-07 6:49
Waldermort15-Jan-07 6:49 
Thanks for the suggestions. I created this class just to see if I could, call it a 'learning curve' Poke tongue | ;-P

Roger Stoltz wrote:
When your timer expires you have to call the timer callback but that callback would be called from the context of your timer thread.


The class is structured in such a way that either a message is posted or a user callback is called, or a virtual method. It acts much the same as the standard SetTimer(). My use is within a game to regulate speed, rather than use the standard message pump, the timer sets a volatile member of the base thread. This allows me to launch a loop containing a PeekMessage() call and do further processing in the idle time.

Roger Stoltz wrote:
Use multimedia timers.


This has always been an open option, and infact I am about to attempt using them.

Thanks for the links Big Grin | :-D
QuestionHow to fastly write huge array or list to file ? Pin
Michael_Lotfy15-Jan-07 2:44
Michael_Lotfy15-Jan-07 2:44 
AnswerRe: How to fastly write huge array or list to file ? Pin
#realJSOP15-Jan-07 3:23
professional#realJSOP15-Jan-07 3:23 
AnswerRe: How to fastly write huge array or list to file ? Pin
Joe Woodbury15-Jan-07 6:10
professionalJoe Woodbury15-Jan-07 6:10 
QuestionAre The libmysql.lib error is system specific Pin
Y_Kaushik15-Jan-07 2:40
Y_Kaushik15-Jan-07 2:40 
AnswerRe: Are The libmysql.lib error is system specific Pin
prasad_som15-Jan-07 2:53
prasad_som15-Jan-07 2:53 
QuestionShell Extensions - Vista 64 Bit Pin
Tony Teveris15-Jan-07 2:38
Tony Teveris15-Jan-07 2:38 
QuestionDLL size Pin
PatrykDabrowski15-Jan-07 2:06
PatrykDabrowski15-Jan-07 2:06 
AnswerRe: DLL size Pin
mark novak15-Jan-07 2:28
mark novak15-Jan-07 2:28 
GeneralRe: DLL size Pin
PatrykDabrowski15-Jan-07 2:41
PatrykDabrowski15-Jan-07 2:41 
AnswerRe: DLL size Pin
#realJSOP15-Jan-07 3:25
professional#realJSOP15-Jan-07 3:25 
AnswerRe: DLL size Pin
David Crow15-Jan-07 3:28
David Crow15-Jan-07 3:28 
GeneralRe: DLL size Pin
PatrykDabrowski15-Jan-07 3:47
PatrykDabrowski15-Jan-07 3:47 
QuestionRe: DLL size Pin
David Crow15-Jan-07 3:54
David Crow15-Jan-07 3:54 
GeneralRe: DLL size Pin
PatrykDabrowski15-Jan-07 3:58
PatrykDabrowski15-Jan-07 3:58 
AnswerRe: DLL size Pin
jonny515-Jan-07 11:53
jonny515-Jan-07 11:53 
Questionneed help on VC++ 6 IDE ( begineer) Pin
Vikram.....15-Jan-07 2:02
Vikram.....15-Jan-07 2:02 
GeneralRe: need help on VC++ 6 IDE ( begineer) Pin
prasad_som15-Jan-07 2:27
prasad_som15-Jan-07 2:27 

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.