Building DirectDraw projects with VS2005

DirectDraw has been deprecated by Microsoft and the headers are no longer included by default with Visual Studio 2005. If you get an error about being unable to find ddraw.h then you need to install the latest DirectX SDK (Dec 2005 or greater is compatible with VS 2005).

If you still have missing headers (perhaps “amvideo.h” from DirectShow) you then need to install an updated Platform SDK too.

Life was easier with VS 2003…

I hope this saves someone else some time hunting!