Many thanks for your help

OK I've found it and the TimerTest project, but I can't compile it :cry:

This is from TimerTest:
[pascal]
Timer1 := SDL_AddTimer(500, CallTimer1, @Param1);
[/pascal]

gives me this error:

[Error] Main.pas(86): Incompatible types: 'TSDL_TimerID' and 'PSDL_TimerID'

Timer1 is a PSDL_TimerID but the function returns a TSDL_TimerID.

Am I doing something wrong here? :roll: