How to Set Up the DirectX Project in Visual Studio 6
To get the project to build, you must:
-
Go to Project->Settings->Link then add the following libraries to the
Object/library modules:
- winmm.lib dxguid.lib
dinput8.lib d3d8.lib d3dx8.lib odbc32.lib odbccp32.lib strmiids.lib
- Be sure to select the appropriate project in the pane on the
left if you have more than one project in your workspace.
- Select the settings for "All Configurations" before you add the
libraries, so it will work in both debug and release mode
-
Go to Tools->Options->Directories and add the lib folder in
the
DirectX SDK in the libraries directory, and the include files in the
include directory.