ok, you want to include direct X in your project.
Download DirectX SDK - (June 2010) from Official Microsoft Download Center
then you need to include it.
Setting up the DirectX SDK with Visual Studio 2010 | Taking Initiative
then you need to learn C++...
you can now make hacks!!!!
C+P from here:
Combat Arms Hack Coding / Programming / Source Code - MPGH - MultiPlayer Game Hacking & Cheats - Hacks, Cheats, Downloads, Trainers, Games