I have a WPF app and I want to learn to write DirectX/Direct3D code and display it in a WPF D3DImage in my app. I downloaded some sample code from http://www.codeproject.com/Articles/28526/Introduction-to-D-DImage but when I try to build it I get
The referenced component 'Microsoft.DirectX' could not be found.
...and...
The referenced component 'Microsoft.DirectX.Direct3D' could not be found.
I assume I have to do an Add Reference to something, but what? I think I have to install a DirectX SDK but which one? (someone said WPF only goes up to 9?) and once I did that how do I use it resolve the original problem?