1)
VC6.0 : In VC++ 6.0 go to the menu and select Tools>Options>Directories
VC7.0 : In VC++ 7.0 go to the menu and select Tools>Options>Projects Folder>VC++ Directories
添加头文件 和库文件 。如图。 (注意:库文件的目录是再x86 ,32位机);
2)
In VC++ 7.0 you can specify the library files to link in by going to the menu and selecting Project>Properties>Linker>Input Folder and then entering the library names
在附加依赖项 中,把当前工程用到的库文件添加到 工程中,常用的动态库如下:
dxerr.lib dxguid.lib d3dx9d.lib d3dx10d.lib d3d9.lib winmm.lib comctl32.lib
配置好编译环境就可以开始学习dx编程。----