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

C / C++ / MFC

 
AnswerRe: Calling Funciton of Other class Pin
Richard MacCutchan26-Jun-11 2:30
mveRichard MacCutchan26-Jun-11 2:30 
GeneralRe: Calling Funciton of Other class Pin
Mohibur Rashid26-Jun-11 2:54
professionalMohibur Rashid26-Jun-11 2:54 
GeneralRe: Calling Funciton of Other class Pin
Richard MacCutchan26-Jun-11 5:16
mveRichard MacCutchan26-Jun-11 5:16 
GeneralRe: Calling Funciton of Other class Pin
Mohibur Rashid26-Jun-11 12:15
professionalMohibur Rashid26-Jun-11 12:15 
AnswerRe: Calling Funciton of Other class Pin
Niklas L26-Jun-11 3:52
Niklas L26-Jun-11 3:52 
GeneralRe: Calling Funciton of Other class Pin
Mohibur Rashid26-Jun-11 4:11
professionalMohibur Rashid26-Jun-11 4:11 
AnswerRe: Calling Funciton of Other class Pin
Stefan_Lang27-Jun-11 1:57
Stefan_Lang27-Jun-11 1:57 
QuestionHelp With SetTimer in C++ 6 Pin
Member 801201325-Jun-11 6:33
Member 801201325-Jun-11 6:33 
Hello Everyone. I'm new here to both codeproject.com and VC++. I'm running VC++ 6 on an XP system. I happen to own a version of c++ 6 so I installed it on my severely limited resource machine. My issue in my code is with SetTimer and the way the system processes the time expired notification. I think I have figured out through trial and lots of error that when the time has expired a message enters the message queue and the code gets to process it when Windows says so. Initially, I was under the impression that SetTimer was giving me a "code interrupt" kind of service when the time expired. I set up this WHILE(Time_Out_Flag == FALSE){} kinda thing in one particular scope and waited patiently for the OnTimer process to set the Time_Out_Flag to TRUE to escape from the WHILE loop--An event that ultimately would never happen (Ctl+Alt+Del got me control again).

My question is... Is there some way to poll a SetTimer event for timer expiry within my WHILE loop?

Thanks in advance,

John
AnswerRe: Help With SetTimer in C++ 6 Pin
«_Superman_»25-Jun-11 6:54
professional«_Superman_»25-Jun-11 6:54 
GeneralRe: Help With SetTimer in C++ 6 Pin
Member 801201325-Jun-11 7:01
Member 801201325-Jun-11 7:01 
AnswerRe: Help With SetTimer in C++ 6 Pin
Richard MacCutchan25-Jun-11 21:23
mveRichard MacCutchan25-Jun-11 21:23 
GeneralRe: Help With SetTimer in C++ 6 Pin
Member 801201326-Jun-11 5:31
Member 801201326-Jun-11 5:31 
GeneralRe: Help With SetTimer in C++ 6 Pin
Richard MacCutchan26-Jun-11 5:42
mveRichard MacCutchan26-Jun-11 5:42 
GeneralRe: Help With SetTimer in C++ 6 [modified] Pin
David Crow27-Jun-11 3:19
David Crow27-Jun-11 3:19 
GeneralRe: Help With SetTimer in C++ 6 Pin
Member 801201327-Jun-11 4:30
Member 801201327-Jun-11 4:30 
AnswerRe: Help With SetTimer in C++ 6 Pin
enhzflep25-Jun-11 21:57
enhzflep25-Jun-11 21:57 
GeneralRe: Help With SetTimer in C++ 6 Pin
Member 801201326-Jun-11 6:02
Member 801201326-Jun-11 6:02 
GeneralRe: Help With SetTimer in C++ 6 Pin
enhzflep26-Jun-11 13:12
enhzflep26-Jun-11 13:12 
QuestionHow tcp socket works for read & write both on same port? Pin
rahul.kulshreshtha23-Jun-11 23:34
rahul.kulshreshtha23-Jun-11 23:34 
AnswerRe: How tcp socket works for read & write both on same port? Pin
Code-o-mat24-Jun-11 0:25
Code-o-mat24-Jun-11 0:25 
GeneralRe: How tcp socket works for read & write both on same port? Pin
rahul.kulshreshtha24-Jun-11 1:15
rahul.kulshreshtha24-Jun-11 1:15 
GeneralRe: How tcp socket works for read & write both on same port? Pin
Code-o-mat24-Jun-11 1:20
Code-o-mat24-Jun-11 1:20 
GeneralRe: How tcp socket works for read & write both on same port? Pin
CPallini24-Jun-11 1:57
mveCPallini24-Jun-11 1:57 
AnswerRe: How tcp socket works for read & write both on same port? Pin
David Cunningham24-Jun-11 5:52
cofounderDavid Cunningham24-Jun-11 5:52 
AnswerRe: How tcp socket works for read & write both on same port? Pin
jschell24-Jun-11 7:52
jschell24-Jun-11 7:52 

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.