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編程。----