The Code Execution Cannot Proceed Because D3d