Hello Guest it is May 25, 2025, 05:06:24 PM

Author Topic: Declare Sub Sleep Lib "Kernel32" Command  (Read 7943 times)

0 Members and 1 Guest are viewing this topic.

Offline Tarak

*
  •  229 229
Declare Sub Sleep Lib "Kernel32" Command
« on: May 17, 2008, 12:10:24 AM »
From what I understand this is meant to help to computer run more efficiently....I think.

Is this meant to be entered into the Macropump like this....

Declare Sub Sleep Lib "Kernel32" (ByVal dwMilliseconds As Long)

or am I meant to change the dwMilliseconds to a value??
Darc

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
Re: Declare Sub Sleep Lib "Kernel32" Command
« Reply #1 on: May 17, 2008, 09:25:21 AM »
I think with the latest stable release, that you now just put in:

Sleep()

I think Art put it in the later versions of mach so that you could just call that function.

scott
fun times
Re: Declare Sub Sleep Lib "Kernel32" Command
« Reply #2 on: May 21, 2008, 07:00:30 PM »
It's in the mach code now. Just been playing with buttons and having to wait for them to update before zeroing them again using a Sleep(500) line.