Hi,

I'm getting an assertion error with my Timer. When I use the debugger, it didn't go into the timer function ... it crashed at SetTimer. Just wondering what's wrong with my statement:

int timeInBetween=1000/20;
SetTimer(1,timeInBetween,NULL);

Does the first parameter of SetTimer matters ... it's the nIDEvent? I used 1 ... could this cause the error?

Thanks,
Alex