Setting things upWe are not actually going to start programming anything now. It is best to start by setting all things up so that in the next tutorial we don’t have to worry about annoying little details. Again, all steps covered here are using Visual C++. If you have another compiler please look in your documentation on how to set it up to compile DirectX programs. First we need to create a Project. Go to the File menu, then select New and choose Win32 Application. Enter the name Ping in the Project name text box. Click Ok. Now we need to add the DirectX libraries to the project. Go to the Project menu and select Settings. Choose the Link tab and in Object/library modules text box add dxguid.lib ddraw.lib dinput.lib. |
||||||||||||||||||||