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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.