Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How read registry key value on Xp64bit OS Pin
Sethuraman.K24-Feb-09 1:18
Sethuraman.K24-Feb-09 1:18 
GeneralRe: How read registry key value on Xp64bit OS Pin
«_Superman_»24-Feb-09 1:20
professional«_Superman_»24-Feb-09 1:20 
GeneralRe: How read registry key value on Xp64bit OS Pin
Sethuraman.K24-Feb-09 2:04
Sethuraman.K24-Feb-09 2:04 
QuestionTimer Problem Pin
NewVC++23-Feb-09 23:38
NewVC++23-Feb-09 23:38 
AnswerRe: Timer Problem Pin
Code-o-mat23-Feb-09 23:45
Code-o-mat23-Feb-09 23:45 
QuestionRe: Timer Problem Pin
CPallini23-Feb-09 23:51
mveCPallini23-Feb-09 23:51 
AnswerRe: Timer Problem [modified] Pin
NewVC++24-Feb-09 0:12
NewVC++24-Feb-09 0:12 
QuestionRe: Timer Problem Pin
CPallini24-Feb-09 0:26
mveCPallini24-Feb-09 0:26 
  • Please check the posted code (for instance use &lt; to escape the symbol < when required).
  • Why are you calling directly the timer function inside OnInitDialog (instead of starting the timer? You may actually do it, but usually you haven't...)?
  • Since you're calling directly (form OnInitDialog) your timer function (OnBnClickedTimer) it doesn't make sense the OnStopTimer call in the latter.


Anyway your application 'freezes' possibly because of a bug in your loop. You should debug it in order to have a clue about (ispecting your code is also difficult because of the, already mentioned, bad formatting).
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: Timer Problem Pin
SandipG 24-Feb-09 1:54
SandipG 24-Feb-09 1:54 
GeneralRe: Timer Problem Pin
CPallini24-Feb-09 2:17
mveCPallini24-Feb-09 2:17 
AnswerRe: Timer Problem Pin
Hamid_RT24-Feb-09 0:19
Hamid_RT24-Feb-09 0:19 
QuestionHow do I read the contents of a directory? Pin
Megidolaon23-Feb-09 22:42
Megidolaon23-Feb-09 22:42 
AnswerRe: How do I read the contents of a directory? Pin
«_Superman_»23-Feb-09 22:51
professional«_Superman_»23-Feb-09 22:51 
AnswerRe: How do I read the contents of a directory? Pin
Hamid_RT23-Feb-09 23:18
Hamid_RT23-Feb-09 23:18 
AnswerRe: How do I read the contents of a directory? Pin
Megidolaon24-Feb-09 2:21
Megidolaon24-Feb-09 2:21 
GeneralRe: How do I read the contents of a directory? Pin
David Crow24-Feb-09 3:17
David Crow24-Feb-09 3:17 
GeneralRe: How do I read the contents of a directory? Pin
Megidolaon24-Feb-09 20:30
Megidolaon24-Feb-09 20:30 
GeneralRe: How do I read the contents of a directory? Pin
David Crow25-Feb-09 3:16
David Crow25-Feb-09 3:16 
GeneralRe: How do I read the contents of a directory? Pin
Megidolaon25-Feb-09 21:31
Megidolaon25-Feb-09 21:31 
GeneralRe: How do I read the contents of a directory? Pin
David Crow26-Feb-09 2:43
David Crow26-Feb-09 2:43 
GeneralRe: How do I read the contents of a directory? Pin
Megidolaon27-Feb-09 0:20
Megidolaon27-Feb-09 0:20 
QuestionRe: How do I read the contents of a directory? Pin
David Crow27-Feb-09 3:15
David Crow27-Feb-09 3:15 
AnswerRe: How do I read the contents of a directory? [modified] Pin
Megidolaon1-Mar-09 20:36
Megidolaon1-Mar-09 20:36 
GeneralRe: How do I read the contents of a directory? Pin
David Crow2-Mar-09 2:27
David Crow2-Mar-09 2:27 
GeneralRe: How do I read the contents of a directory? Pin
Megidolaon2-Mar-09 3:07
Megidolaon2-Mar-09 3:07 

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.