help with variables to hold the time to be DWORD

DWORD startTime = 0;
DWORD timeElapsed = 0;

startTime = GetTickCount();

if((GetTickCount-startTime)>10000)
{
//put the object in a new place
}

this is the code that i am working on and i need to get a object in new place
from the place of the camera, from where it is looking. i may using c++ with
osg 2.8.3, hope anyone can help

ash
What is the problem, exactly? You don't really pose a clear question. If I were guided by the title, your question would be something like "how do I hold the PC time in a DWORD variable?" but looking at your code this is probably not the case.
Topic archived. No new replies allowed.