![Embarassed :oops:](./images/smilies/icon_redface.gif)
I am trying to settingup a timer, and my code looks like
irr::Itimer* timer = device->getTimer();
u32 now = timer->getTime();
However, it would give me the ememory violation error. on the second line.
it seems like the Itimer is not a class?
I guess it's more like a programming problem.
could anyone teach me how to set this right and to use the getTime() function?
thanks alot
![Wink :wink:](./images/smilies/icon_wink.gif)