Thanks for your reply!

It works, but I thought there would be some build in commando for
that. Something like: sleep(int milliseconds)....

But for now I think I can live with you solution:
{
int startTime, endTime;
int pauseTime;
;

startTime = WinApi::getTickCount();

pauseTime = winapi::gettickcount();
while (winapi::gettickcount()-pauseTime < 10000)
{
  //I am gonna wait unti the midnight hour...
}

endTime = WinApi::getTickCount();

print "Wait time: ", time2StrHMS(endTime - startTime);
pause;
}



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to