Page 1 of 1

How to make an application "sleep"?

Posted: Thu Mar 23, 2006 3:48 pm
by don lowenstein
What is the best way to make an application "Sleep" for a specified time interval?

In xbase there was a Sleep() function.

I'm aware of "inkey()"

Is there a "best" way to make the process inactive for a time period.

Thanks.

Posted: Thu Mar 23, 2006 4:16 pm
by James Bott
DLL32 FUNCTION Sleep ( dwMilliseconds AS LONG ) AS VOID PASCAL LIB "KERNEL32"

Posted: Thu Mar 23, 2006 4:58 pm
by don lowenstein
Thanks very much!!