The C++ samples in the DirectX SDK don't look like they contain too many files... why don't you just create a new empty solution or project or workspace or whatever it's called in the sample directory, remove all the junk that might be in it (in case it's not really empty, MS likes to play with your mind

), and add the *.cpp, *.h, and *.rc files to it?