26.07.2011, 19:01
I'm also interested to know why you renamed "SetTimer" to "SetLTimer" when I can see no difference in the functions. Also, something along the lines of conversion functions would have been much more helpful, with your code people are restricted to the random times you choose. What if they want a 6 or 7 second timer, or a half second timer?
Code:
#define MILLISECOND #define MILLISECONDS #define SECOND *1000 #define SECONDS SECOND #define MINUTE *60000 #define MINUTES MINUTE #define HOUR *3600000 #define HOURS HOUR SetTimer("bla", 6 HOURS + 1 MINUTE + 5 SECONDS + 27 MILLISECONDS, false);