The requested operation cannot be completed while scene rendering is taking place. Try again after the scene is completed and the TDx_3DDevice::EndScene() method is called.