Looping in background

Hi there,

Tried searching for this on the forum but couldn't find anything. I have a program which simply loads a dialog box at particular times of the day, depending on the user's settings. The program uses a while loop to check the time of day, but unfortunately this results in it slowing down the entire system as it uses up 100% CPU time. Even if I set it as low priority in task manager, although it doesn't slow down the system it still shows as taking up 100% CPU time which I'd rather not have. Is there any way to make the program loop in the background, or alternatively is there a way to check the system time repeatedly without using a loop?

Kind regards,

Ben.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion