compiling Frank Luna's D3D9.0c examples
In project properties > Linker > Input, "DxErr9.lib" should be changed to "DxErr.lib", and a new entry should be prepended: "legacy_stdio_definitions.lib"
In Linker > General > Additional Library Directories, add where to find D3D9 libraries, e.g. "C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86"
In C/C++ > Additional Include Directories, add the appropriate "...\Include" path
Lastly, MS have renamed "dxerr9.h" to "dxerr.h", requiring changes to our #includes
last updated december 2018