Installed last DirectX SDK (June 2010): DXSDK_Jun10.exe

Added $(DXSDK_DIR)Include, $(DXSDK_DIR)Lib\x86 to the VC++ include and library directories.

In Windows 10 added the "Graphics Tools" optional features. (Settings -> System -> Apps & Features -> Manage optional features).