gpt4 book ai didi

direct3d - D3D9 64 位调试运行时

转载 作者:行者123 更新时间:2023-12-02 04:21:44 26 4
gpt4 key购买 nike

为了调试 D3D9 应用程序,启用 DirectX 9 调试运行时至关重要。

(必须首先安装 June 2010 SDK。)

对于 64 位应用程序,可以通过选中使用 Direct3D 9 的调试版本DirectX 控制面板(64 位)中启用它。

问题:当控制面板关闭时,它会重置回零售,并且基本上不执行任何操作。

(32 位等效版本有效。)

最佳答案

Kjell Andersson found the answer :

The problem originates from a Windows 7 update that locked down the HKLM\Software\Microsoft\Direct3D registry key to a user named TrustedInstaller. This made the Administrator not having rights to update the settings in the registry key - thus not allowing us to switch to a debug version of Direct3D 9.

To fix this problem you have to follow this procedure:

  1. Using regedit as an Administrator, go to the HKLM\Software\Microsoft\Direct3D key.
  2. Select Permissions... from the context menu on the key.
  3. Press the Advanced button.
  4. Go to the Owner tab and select the Administrator as the owner. Apply the changes and close the Advanced settings.
  5. Back in the Premissions dialog select the Administrators group and check Full Control. Apply changes and close dialog.

You are now able to start the DirectX Control Panel from the DirectX SDK June 2010 and switch to the debug runtime.

关于direct3d - D3D9 64 位调试运行时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29944572/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com