   SkinnedMesh locking My Program..
  hi all .i am using dx9 skinned mesh code from gamedev tutorial when playing animations with skinnedmesh after few frame played it will lock and crash my program...what can be the reason ?with same updating code it will work great at main skinnedmesh tutorial example...may be my device settings ?   thank you.//Set up the time stuffstatic DWORD last_frame = GetTickCount();DWORD curr_frame = GetTickCount();float delta_time = (curr_frame - last_frame) * .001f;last_frame = curr_frame;//Update the model g_pModel->Update(deltatime);then draw model etc.... _   
  Define "crashes your program". Access violation? What address? Reading or writing? What do the debug runtimes tell you? Are you checking all your return values? Are you creating anything on a per-frame basis? Are you releasing it? If you call Get*(), and the function gives you an interface, do you always Release() it? How long is "after a while"? 10 frames? 5 minutes? Is it always after the same duration? When the program crashes, where does the debugger tell you the problem is?We need more information.   ;  ahhh !! too many questions...i solved the problem,its mine  carelessness...when i modified update functions i did it so ->//m_pAnimController->SetTime(m_pAnimController->GetTime()+dElapsedTime);m_pAnimController->AdvanceTime(m_pAnimController->GetTime()+dElapsedTime,NULL);And now i changed it to below...now it works....m_pAnimController->AdvanceTime(dElapsedTime, NULL);thank you Steve .