I am using the book mentioned above and any of the test code gives me this error:
Error LNK2019 unresolved external symbol __vsnwprintf referenced in function "long __stdcall StringVPrintfWorkerW(unsigned short *,unsigned int,unsigned int *,unsigned short const *,char *)" (?StringVPrintfWorkerW@@YGJPAGIPAIPBGPAD@Z) Init Direct3D Z:\d3d11book\Introduction-to-3D-Game-Programming-With-DirectX11-master\Introduction-to-3D-Game-Programming-With-DirectX11-master\Chapter 4 Direct3D Initialization\Init Direct3D\dxerr.lib(dxerrw.obj) 1
I made sure that DxErr.h was linked.