Originally Posted By: Uhrwerk
Code:
SpeedRun_Time = 60;


That is wrong. SpeedRun_Time is a pointer. You write the address 60 to that pointer. What you intended to do was setting the integer value SpeedRun_Time was pointing to, right?


Exactly, so I shud *SpeedRun_Time = 60; right??

And thats really not funny of the compiler ( tongue ) to show crash in so and so but it isn't the crash there(Many might not be knowing :D) and it's the line preceding the function call. tongue


Keep smiling laugh
http://translation.babylon.com/ - Translate many languages