在哪里可以找到在C#x64 WinForms应用程序中使用的DirectX dll? [英] Where do I find DirectX dll's to use in a C# x64 WinForms app?

查看:54
本文介绍了在哪里可以找到在C#x64 WinForms应用程序中使用的DirectX dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚完成了一个使用DirectX 9.0c的x86 C#WinForms应用程序.现在,我必须编写一个x64版本.问题是我找不到x64 DirectX.AudioVideoPlayback.dll和DirectX.Direct3D.dll.我已经安装了DirectX 9 SDK,但是我发现了dll 只能在x86项目中使用.有什么想法吗?

I've just finished an x86 C# WinForms app that uses DirectX 9.0c. Now I have to write an x64 version. Problem is I can't find the x64 DirectX.AudioVideoPlayback.dll and the DirectX.Direct3D.dll. I have the DirectX 9 SDK installed, but the dll's I found there will only work in an x86 project. Any ideas?

推荐答案

DirectX9仅存在32位版本的运行时,如果需要编写64位应​​用程序,则应使用DirectX10或而不是上面.

Only 32-bit version of runtime exists for DirectX9, if you need to write 64-bit application, you should rewrite using DirectX10 or above instead.

更正:似乎他们还没有使DirectX SDK的旧版本脱机.遵循指示 在这里获取并安装它.

Correction: Seems they have not taken the legacy version of DirectX SDK offline yet. Following instructions here to get and install it.

还请注意,要使用该版本的SDK,您必须

Also note that to use that version of SDK, you have to manually fix the paths for those project so VS can find the correct files to compile with.


这篇关于在哪里可以找到在C#x64 WinForms应用程序中使用的DirectX dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆