VS2010 C# 使用DirectSound
2012-08-13 17:48
211 查看
一.说明
vs2010 c#里面不能直接在引用.net组件里面找到directx的组件,所以要手动添加dll引用。
安装完dxsdk后(目前最新dxsdk_jun10.exe)能在E:\Windows\Microsoft.NET\DirectXfor Managed Code\1.0.2902.0 下面找到相应dll。
如果要使用directsound的话,需要添加
Microsoft.DirectX.dll
Microsoft.DirectX.DirectSound.dll
二.添加引用
1.当前打开的项目下,选择 References
2.在打开的“Add References”窗口中选中Browse选项卡,找到那两个dll文件并添加进来
3.添加完引用后可以用
usingMicrosoft.DirectX;
usingMicrosoft.DirectX.DirectSound;
vs2010 c#里面不能直接在引用.net组件里面找到directx的组件,所以要手动添加dll引用。
安装完dxsdk后(目前最新dxsdk_jun10.exe)能在E:\Windows\Microsoft.NET\DirectXfor Managed Code\1.0.2902.0 下面找到相应dll。
如果要使用directsound的话,需要添加
Microsoft.DirectX.dll
Microsoft.DirectX.DirectSound.dll
二.添加引用
1.当前打开的项目下,选择 References
2.在打开的“Add References”窗口中选中Browse选项卡,找到那两个dll文件并添加进来
3.添加完引用后可以用
usingMicrosoft.DirectX;
usingMicrosoft.DirectX.DirectSound;
相关文章推荐
- VS2010 C# 使用DirectSound
- VS2010 C# 使用DirectSound
- C#.NET vs2010中使用IrisSkin4.dll轻松实现WinForm窗体换肤功能
- C#中自建动态链接库与使用(VS2010与记事本两种情况)
- 第十一讲 : 类和对象的使用【天轰穿.Net4趣味编程系列视频教程-vs2010轻松学习C#】
- C#如何使用VS2010与SQL2008建立链接及初步调用(转)
- 关于Vs2010 C#使用DirectX的问题
- VS2010平台下的OpenCV、EmguCV( C#)安装、使用配置
- VS2010、C#、Emgu CV配置 ; 在C#下使用OpenCV ; C#中使用OpenCV(Emgu CV); 配置全程截图
- 使用VS2010 C#开发ActiveX控件
- C#中使用DirectSound录音
- 使用VS2010(C#语言)创建Windows Service详细图解
- 关于Vs2010 C#使用DirectX的问题
- 在VS2010上使用C#调用非托管C++生成的DLL文件(图文讲解)
- 在VS2010上使用C#调用非托管C++生成的DLL文件(图文讲解)
- 在VS2010上使用C#调用非托管C++生成的DLL文件(图文讲解)
- 黄聪:VS2010开发如何在c#中使用Ctrl、Alt、Tab等全局组合快捷键
- 使用VS2010 C#编写ActiveX控件
- .天轰穿C# -vs2010 - 04面向对象的编程之类的使用【原创】 2012-12-17 10:55阅读(0).
- C#中使用DirectSound录音