[UWP]如何安装DirectX 9.0重新分发 [英] [UWP]How to install DirectX 9.0 redistribution

查看:118
本文介绍了[UWP]如何安装DirectX 9.0重新分发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能包含DirectX 9.0重新分发安装我的桌面软件的UWA端口。但我必须调用DX9.0 DLL。以下是我向商店提交
时的错误报告。

如何解决此问题?


不幸的是,我们无法测试应用程序,因为应用程序显示错误消息:'The代码执行无法继续,因为找不到d3dx9_43.dll。重新安装
程序可能会解决问题。'正在启动。



解决方案

UWP应用不支持Legacy Direct3D 9,只支持Direct3D 11或Direct3D 12。 / p>

旧版DirectX SDK本身已弃用,UWP开发不支持。这包括D3DX9,D3DX10和D3DX11的所有版本,以及XACT。请参阅

MSDN


所以你必须移植到Direct3D 11,这样做是为了避免使用D3DX11。


https://docs.microsoft.com/en-us/windows/uwp / gaming / walkthrough - simple-port-from-direct3d-9-to-11-1


https://blogs.msdn.microsoft.com/chuckw/2013/08/20/living-without-d3dx/


I can not include DirectX 9.0 redistribution installation in my UWA port from my desktop software. But I must call DX9.0 DLL. Below is the error report when I submitted to Store.
How can I solve this problem?

Unfortunately, we can’t test the app, because the app displays the error message: 'The code execution cannot proceed because d3dx9_43.dll was not found. Reinstalling the program may fix the problem.' at launch.


解决方案

Legacy Direct3D 9 is not supported for UWP apps, only Direct3D 11 or Direct3D 12.

The legacy DirectX SDK itself is deprecated, and is not supported for UWP development. This includes all versions of D3DX9, D3DX10, and D3DX11, as well as XACT. See MSDN

So you have to port to Direct3D 11, and do so avoiding the use of D3DX11.

https://docs.microsoft.com/en-us/windows/uwp/gaming/walkthrough--simple-port-from-direct3d-9-to-11-1

https://blogs.msdn.microsoft.com/chuckw/2013/08/20/living-without-d3dx/


这篇关于[UWP]如何安装DirectX 9.0重新分发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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