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!

2 comments

  1. Rumors heard (as in channel9 forums) that newest directx sdk releases (2006) DON’T provide ddraw either!
    Only rumors?
    I am getting directly dec2005 dxsdk – thanks to your advice maybe i can save some hours of downloding…
    i am coming back when i have surer news :)

  2. Hey,
    The suggestion provided is abolutely 100% useful.

    Thanks for the great Info

    Regards
    _Basileis_