Click here to Skip to main content
15,908,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do you structure your code/development environment ? Pin
Defenestration14-Dec-08 1:50
Defenestration14-Dec-08 1:50 
AnswerRe: How do you structure your code/development environment ? Pin
Stuart Dootson14-Dec-08 6:27
professionalStuart Dootson14-Dec-08 6:27 
QuestionRe: How do you structure your code/development environment ? Pin
Defenestration14-Dec-08 6:47
Defenestration14-Dec-08 6:47 
AnswerRe: How do you structure your code/development environment ? Pin
Stuart Dootson14-Dec-08 7:43
professionalStuart Dootson14-Dec-08 7:43 
AnswerRe: How do you structure your code/development environment ? Pin
Jijo.Raj14-Dec-08 6:47
Jijo.Raj14-Dec-08 6:47 
QuestionSetWaitableTimer confusions Pin
George_George14-Dec-08 1:40
George_George14-Dec-08 1:40 
AnswerRe: SetWaitableTimer confusions Pin
Stuart Dootson14-Dec-08 6:25
professionalStuart Dootson14-Dec-08 6:25 
GeneralRe: SetWaitableTimer confusions Pin
George_George14-Dec-08 20:14
George_George14-Dec-08 20:14 
Thanks Stuart,

I would like to write simple samples until I understand the concept. Smile | :)

1.

Stuart Dootson wrote:
If a timer has bManualReset set to TRUE, then you have to call SetWaitableTimer to make it start measuring time again after it expires.


You mean for example, I set the lPeriod to 5 ms, and then active the timer, then the timer only activate after 5ms once? Not active after 5ms, 10ms, 15ms, etc?

2.

Stuart Dootson wrote:
a timer has bManualReset set to FALSE, then it becomes active again once a WaitForSingleObject or WaitForMultipleObjects call has been activated by the timer expiry.


I am confused about what do you mean, could you show some pseudo code or refer some samples? I did not find any good samples from MSDN.

regards,
George
GeneralRe: SetWaitableTimer confusions Pin
Stuart Dootson14-Dec-08 21:19
professionalStuart Dootson14-Dec-08 21:19 
GeneralRe: SetWaitableTimer confusions Pin
George_George15-Dec-08 0:42
George_George15-Dec-08 0:42 
AnswerRe: SetWaitableTimer confusions Pin
Jijo.Raj14-Dec-08 6:37
Jijo.Raj14-Dec-08 6:37 
GeneralRe: SetWaitableTimer confusions Pin
George_George14-Dec-08 20:20
George_George14-Dec-08 20:20 
QuestionQuery XML in SQL 2005 using ADO in native C++ Pin
Green Fuze13-Dec-08 12:42
Green Fuze13-Dec-08 12:42 
Question[Message Deleted] Pin
chokahn13-Dec-08 3:50
chokahn13-Dec-08 3:50 
AnswerRe: reading bitmap pixel by pixel?? Pin
Jijo.Raj13-Dec-08 3:56
Jijo.Raj13-Dec-08 3:56 
AnswerRe: [Message Deleted] Pin
Jijo.Raj13-Dec-08 4:57
Jijo.Raj13-Dec-08 4:57 
QuestionCreating DialogBar in VC 2008 Pin
sabapathy_8013-Dec-08 3:13
sabapathy_8013-Dec-08 3:13 
QuestionHamming error check and correct Pin
King Tran13-Dec-08 2:40
King Tran13-Dec-08 2:40 
AnswerRe: Hamming error check and correct Pin
Stuart Dootson13-Dec-08 9:24
professionalStuart Dootson13-Dec-08 9:24 
GeneralRe: Hamming error check and correct Pin
Richard Andrew x6413-Dec-08 10:33
professionalRichard Andrew x6413-Dec-08 10:33 
QuestionQuestion regarding Visual C++ redistributable Pin
Zerox MXI13-Dec-08 2:26
Zerox MXI13-Dec-08 2:26 
AnswerRe: Question regarding Visual C++ redistributable Pin
Stuart Dootson13-Dec-08 9:31
professionalStuart Dootson13-Dec-08 9:31 
QuestionShall we change button style of messagebox? Pin
Le@rner13-Dec-08 0:37
Le@rner13-Dec-08 0:37 
AnswerRe: Shall we change button style of messagebox? Pin
Dr. Emmett Brown13-Dec-08 1:17
Dr. Emmett Brown13-Dec-08 1:17 
GeneralRe: Shall we change button style of messagebox? Pin
Le@rner13-Dec-08 1:37
Le@rner13-Dec-08 1: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.