I wanted to run the Nvidia CUDA samples for my GTX1060 using Visual Studio 2017 Community. Mostly this was straightforward; I downloaded the CUDA samples, opened VS 2017 using the supplied "2017.sln" file, rebuilt everything and off we go...
Unfortunately the samples based on DirectX 9 didn't build, so following protocol I started the hunt on the internet at the usual suspects e.g. MSDN, Tom's Hardware etc.,. Lots of good stuff but no one-stop solution.
How do I setup and run the DirectX 9 samples?