Use the timeSetEvent (/timer) and timeKillEvent (/timer off) API functions.

You also need a timeproc function (Much like window or thread procedures) for the timer to call when it fires. Look on MSDN for more info.


New username: hixxy