Quick Tip: Visual Studio 2012 and DirectX

Just a quick tip for all those who may be migrating DirectX projects from Visual Studio 2010 to 2012 either on Windows 7 or by switching to Windows 8. You will get A LOT of compile-time warnings. I found out the reason and the fix here. In short, DirectX is now in the Windows SDK and a separate DirectX SDK conflicts a little. Solution to the warnings is (as given in the link above) to remove the DirectX SDK include, or (if you still using D3DX), to move the include to after the Windows SDK include. Happy Programming.

Leave a Comment.