Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondownload the files in FTP server Pin
AnithaSubramani24-Nov-08 2:31
AnithaSubramani24-Nov-08 2:31 
AnswerRe: download the files in FTP server Pin
Hamid_RT24-Nov-08 2:36
Hamid_RT24-Nov-08 2:36 
AnswerRe: download the files in FTP server Pin
Ahmed Charfeddine24-Nov-08 3:02
Ahmed Charfeddine24-Nov-08 3:02 
GeneralRe: download the files in FTP server Pin
Ahmed Charfeddine24-Nov-08 3:04
Ahmed Charfeddine24-Nov-08 3:04 
AnswerRe: download the files in FTP server Pin
Randor 24-Nov-08 3:22
professional Randor 24-Nov-08 3:22 
QuestionMeasuring the thread running duration. Pin
Ahmed Charfeddine24-Nov-08 2:14
Ahmed Charfeddine24-Nov-08 2:14 
AnswerRe: Measuring the thread running duration. Pin
Roger Stoltz24-Nov-08 3:05
Roger Stoltz24-Nov-08 3:05 
GeneralRe: Measuring the thread running duration. Pin
Ahmed Charfeddine27-Nov-08 9:25
Ahmed Charfeddine27-Nov-08 9:25 
Thank you for this knowledgeable response indeed.
My expectation was that <code>::Sleep</code> triggers a timer before blocking until the thread is again awaiked by an asynchronous call from the system which checks for the clock and the timer values.

::GetThreadTimes has evrything : the blocking-time it provides is much accurate than what the difference I was going to do between the absolute clock period and the one I would have deduced from the two calls to QPC..what it wooud have given to me.
It is exactly becuase of the same scenario that mades akirilov's statement that Sleep is accurate than WM_TIMER a false statement : that of (the scenario [I'm beginning to notice that my langage is not so often understood]) the effect of multithreading. [I expect that running a chess engine on the background affects the observable period that the thread running ::Sleep code is perceiving..]
GeneralRe: Measuring the thread running duration. Pin
Roger Stoltz27-Nov-08 10:23
Roger Stoltz27-Nov-08 10:23 
GeneralRe: Measuring the thread running duration. Pin
Ahmed Charfeddine27-Nov-08 11:01
Ahmed Charfeddine27-Nov-08 11:01 
QuestionRe: Measuring the thread running duration. Pin
Roger Stoltz27-Nov-08 11:37
Roger Stoltz27-Nov-08 11:37 
AnswerRe: Measuring the thread running duration. Pin
Ahmed Charfeddine27-Nov-08 12:00
Ahmed Charfeddine27-Nov-08 12:00 
GeneralRe: Measuring the thread running duration. Pin
Roger Stoltz27-Nov-08 12:12
Roger Stoltz27-Nov-08 12:12 
AnswerRe: Measuring the thread running duration. [modified] Pin
akirilov24-Nov-08 4:28
akirilov24-Nov-08 4:28 
AnswerRe: Measuring the thread running duration. Pin
Roger Stoltz24-Nov-08 5:08
Roger Stoltz24-Nov-08 5:08 
QuestionHow to check if running under administrator account on Vista from MFC app? Pin
mkoroudjiev24-Nov-08 1:58
mkoroudjiev24-Nov-08 1:58 
AnswerRe: How to check if running under administrator account on Vista from MFC app? Pin
Mark Salsbery24-Nov-08 6:28
Mark Salsbery24-Nov-08 6:28 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
mkoroudjiev24-Nov-08 7:55
mkoroudjiev24-Nov-08 7:55 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
Mark Salsbery24-Nov-08 10:54
Mark Salsbery24-Nov-08 10:54 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
mkoroudjiev24-Nov-08 18:50
mkoroudjiev24-Nov-08 18:50 
GeneralRe: How to check if running under administrator account on Vista from MFC app? Pin
Mark Salsbery25-Nov-08 7:04
Mark Salsbery25-Nov-08 7:04 
Questioninstallation path Pin
NewVC++24-Nov-08 1:03
NewVC++24-Nov-08 1:03 
AnswerRe: installation path Pin
_AnsHUMAN_ 24-Nov-08 1:38
_AnsHUMAN_ 24-Nov-08 1:38 
AnswerRe: installation path Pin
krmed24-Nov-08 3:25
krmed24-Nov-08 3:25 
AnswerRe: installation path Pin
Jijo.Raj24-Nov-08 6:44
Jijo.Raj24-Nov-08 6:44 

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.