To compile this tool, you should use Visual Stdio 2010, the form is in C# and the d3d hook part is c++.