Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sleep command

Status
Not open for further replies.

teubenragee

Programmer
May 22, 2001
27
DE
here is a bloc:

if (checkbox->checked)
{
trt...
Sleep(xxx);
trt...
}

why does it begin with the sleep command???
How can I prevnet from that?
 
Greetinx!

If you wrote the first 'trt...' after the line contains 'Sleep(xxx)'. Try to rebuild all project!

Happy programming!))
 
It doesn't work ! Althogh I've done what you say

And the first 'trt...' MUST be done before the sleep command

(I work on a bi-Pentium and I think the problem comes from a thing like priority with processes, I think the sleep command has been sent to the second processor, how can I force IT???)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top