I have a dll that needs delayed by about 5 seconds. The code I have been using is shown below:
current = 0
Interval = 0
current = Second(Time)
While Interval < 5
Interval = Second(Time) - current
Wend
The problem with this code is that is would tend to peak my system at 100% and stay there until the code is stopped. I need a stable way to delay this code.
Any suggestions?
current = 0
Interval = 0
current = Second(Time)
While Interval < 5
Interval = Second(Time) - current
Wend
The problem with this code is that is would tend to peak my system at 100% and stay there until the code is stopped. I need a stable way to delay this code.
Any suggestions?