Using the DirectX Sample Framework
来源:互联网 发布:python while两个条件 编辑:程序博客网 时间:2024/04/30 02:57
Using the DirectX Sample Framework
When building the project in previous artical :Introduction, I got many errors. To solve that, fist, follow the instructions below:
The Microsoft DirectX 9.0 for Managed Code sample framework is included in the DirectX software development kit (SDK) as C# source files that you can include in your application. They are located in the following directory:
(SDK root)/Samples/Managed/Common
To include the functionality of the sample framework in an application you can either start your application with the EmptyProject Direct3D Sample or do the following:- Add the following classes to your project:
- dxmut.cs
- dxmutdata.cs
- dxmutenum.cs
- dxmutexception.cs
- dxmutgui.cs
- dxmutmesh.cs
- dxmutmisc.cs
- dxmutSettingsDlg.cs
- Add references to the following dynamic-link libraries (DLLs) to your project:
- Microsoft.DirectX.dll
- Microsoft.DirectX.Direct3D.dll
- Microsoft.DirectX.Direct3DX.dll
- Set the "Allow Unsafe Code Blocks" build flag for your project to true.
After above operations, you'd better add all the files under the "(DirectX SDK Directory)/Samples/Managed/Common" directory except the AssemblyInfo.cs!
- Using the DirectX Sample Framework
- Using the Windows Forms XML Parser Sample
- [DirectX][DirectInput]Summarize:Using the Keyboard
- Using the UIAutomation Private Framework
- Using the UIAutomation Private Framework
- DirectX SDK Sample编译
- 使用Managed DirectX编写游戏----理解sample framework 之枚举设备
- 使用Managed DirectX编写游戏----理解sample framework 之事件处理
- A sample that using the completion port I/O model
- Benefits of Using the .NET Framework
- Licensed Applications using the .NET Framework
- Using MyXaml on the Compact Framework
- Using the Ext-GWT (GXT) MVC Framework
- Using the Adobe AIR update framework
- Using the Adobe AIR update framework
- DirectX Sample : EmptyProject 框架认识
- DirectX Sample-ShadowVolumn阴影技术
- DirectX Sample-Blobs实现原理
- 全国计算机等级考试调整方案(07年5月发布)
- 类unix操作系统内核研究各阶段学习导引
- 2008年分销商八大发展趋势
- Linux内核研究推荐书目
- 我们期待自己成为一个优秀的软件模型设计者(转载)
- Using the DirectX Sample Framework
- 六大原因 为何Linux比Windows更安全
- jdbc学习笔记(一) --引用
- Web 3.0时代才刚刚开始
- jdbc学习笔记(二) --引用
- 《大规模C++程序设计》读书笔记21
- jdbc学习笔记(三) --引用
- [备忘]VEGAS 修剪器的使用
- gridview绑定下拉框