[FIELDSET][LEGEND]引自:3楼[/LEGEND]
1.下载
http://download.microsoft.com/download/b/e/7/be7ffe34-903c-410b-bdbc-ee6c018df45c/dxsdk_november2007.exe
2 安装SDK,然后配置VC环境
tools->options->directories
inlcude file增加 C:\PROGRAM FILES\MICROSOFT DIRECTX SDK (NOVEMBER 2007)\INCLUDE
Library file 增加 C:\PROGRAM FILES\MICROSOFT DIRECTX SDK (NOVEMBER 2007)\LIB\X86
3 在程序中导入头和库文件
#include <windows.h>
#include <d3d9.h>
#include <d3dx9tex.h>
#include <string>
#pragma comment(lib,"dxguid.lib")
#pragma comment(lib,"d3d9.lib")
#pragma comment(lib,"d3dx9.lib")
[/FIELDSET]
回复:
你那个设置是不是开发3D的啊?我想做声音啊。