How to configure a DirectX development environment in VS2013

How to configure a DirectX development environment in VS ?

1. Download and install the DirectX SDK from the internet.

2. Create a new WIN32 project in VS (ps: this window will be used for future development).

3. Open project properties: VC++ catalogue.

Configuration includes directory:

C: Program Files% 28x86% 29 Microsoft DirectX SDK% 28June 2010% 29 Include.

Configuration library directory: (32-bit program).

C: Program Files% 28x86% 29 Microsoft DirectX SDK% 28June 2010% 29 Lib x86.

Then add the corresponding lib to the linker to complete it.

D3d9. lib.

D3dx10d.lib.

D3dx9d.lib.

Dxerr.lib.

Dxguid.lib.

Winmm.lib.

Comctl32.lib.

The above completes the configuration of the DirectX development environment.