Savage you are sooooo helpful, got the *cough* correct *ahem* version of SDL.pas and it worked first time.

Just goes to show, check you have the latest stuff or you end up wasting several hours trying to make it work :roll: :roll: :roll: :roll:

Thanks for all your help.

I'll get the demo ready now and you'll be able to see the timer in action :lol: :lol: :lol: :lol: