FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to make an application "sleep"?
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
How to make an application "sleep"?
Posted: Thu Mar 23, 2006 03:48 PM

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.

Don Lowenstein
www.laapc.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
How to make an application "sleep"?
Posted: Thu Mar 23, 2006 04:16 PM

DLL32 FUNCTION Sleep ( dwMilliseconds AS LONG ) AS VOID PASCAL LIB "KERNEL32"

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
How to make an application "sleep"?
Posted: Thu Mar 23, 2006 04:58 PM

Thanks very much!!

Don Lowenstein
www.laapc.com

Continue the discussion