Microsoft DirectX 9.0 SDK (April 2005)是否可以在Win 2003 中作开发

我是把Microsoft DirectX 9.0 SDK (April 2005)安装在我win2003 sp1 的电脑上,但示例程序(C#代码)运行到
device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams)出现应用程序错误,不知何解
[203 byte] By [weisai-与雪共舞] at [2008-1-9]
# 1
参考下help文件嘛,有说明
lzyblog-异域の蜗牛 at 2007-10-19 > top of Msdn China Tech,专题开发,技术,项目,游戏开发...
# 2
帮助文件里是这么说的:

Run-Time Requirements
DirectX 9.0 can be used in the Microsoft Windows 98, Windows Millennium Edition (Windows Me), Windows 2000, and Windows XP environments.

Requirements
The minimum required operating system that will support the managed DirectX 9.0 runtime is Microsoft Windows 98. However, the minimum operating system that will run the samples and tools in the DirectX 9.0 SDK is Windows 2000.

因为Win2003默认已经安装了DirectX 9.0,我远行其他的例子程序,在Win2003 中都没有问题,就是运行教程1时(凡是涉及到上面那行代码的都不行),不知道为什么。

昨天在虚拟机XP系统中,运行教程1也是不行,真的很奇怪。
weisai-与雪共舞 at 2007-10-19 > top of Msdn China Tech,专题开发,技术,项目,游戏开发...
# 3
我的一样的Windows2003+sp1 + DXSDK9 October

1.桌面-->右键--》属性--》高级--》设置---》疑难解答---》硬件加速---》完全

2.开始--》运行——>dxdiag---》显示---》DirectDraw加速--》启用

即可
pachleng-冷家锋 at 2007-10-19 > top of Msdn China Tech,专题开发,技术,项目,游戏开发...
# 4
谢谢pachleng,可以了。

以前以为2003不行,还专门在XP系统安装VS.NET 2003做测试,结果还不行。
weisai-与雪共舞 at 2007-10-19 > top of Msdn China Tech,专题开发,技术,项目,游戏开发...
# 5
还有一个问题请教一下。
帮助文件里说重新发布DX,这个是什么意思。
当我运行 DxSetup.exe /InstallManageDX ,总是提示错误。
不知和解
weisai-与雪共舞 at 2007-10-19 > top of Msdn China Tech,专题开发,技术,项目,游戏开发...
# 6
2k3默认已经装了directx9.0,好象不用吧
提示的错误详细信息是?
pachleng-冷家锋 at 2007-10-19 > top of Msdn China Tech,专题开发,技术,项目,游戏开发...
# 7
提示命令开关错误,我直接运行DxSetup.exe,好像没有安装上,可能是因为Win2003 已经安装。
但是我在xp中也会出现这样的提示错误。

这个重新发布是什么意思,有什么作用。
weisai-与雪共舞 at 2007-10-19 > top of Msdn China Tech,专题开发,技术,项目,游戏开发...