

Some settings or programs can be incompatible with your game.

That should give you some clue as to why the device creation is failin Sometimes a change of your computer settings or a newly installed application can lead to your D3D device failed to create error. (I compiled it successfully): D3D11 CreateDevice failed While I'm not familiar with Frank Luna's series, you could put a break point at the spot where the D3D11 device is created and then check what the HRESULT value returns. Home D3d11 create device failed How to solve D3D11 CreateDevice failed? [Solved
