DirectX redistributable package breakdown

不问归期 提交于 2020-06-27 12:43:26

问题


Am I allowed to redistribute only parts of the DirectX package? (e.g. only the DirectDraw DLLs, without Show/3D/etc.)


回答1:


No. From the DirectX SDK Redist EULA:

DirectX Software Development Kit Redistributable Code

Redistributable Code is identified as all of the files in the following "Redist" directory on the DirectX SDK CD/Download:

redist/

The following files in the above directory must be included in any distribution of the DirectX Runtime.

DSetup32.dll DSetup.dll DXSetup.exe DXupdate.cab dxdllreg_x86.cab




回答2:


The answer is "yes" and "no" depending on what eaxctly you are asking about. You are not able to ship any of the 'raw' DLLs in your app from the DirectX SDK, and you must make use of DirectSetup. You can, however, include only the CABs you actually need as discussed on MSDN.

This really only applies to the DirectX SDK optional side-by-side components such as D3DX, XAudio2, etc. As discussed in Not So DirectSetup, DirectDraw is actually part of the Windows operating system. You don't update it with a REDIST starting with DirectX 9.0c which is included with Windows XP Service Pack 2, Windows Server 2003 Service Pack 1, and Windows XP x64 Edition. DirectDraw is always there. What you do instead is just set a you must be this high to ride-this-ride OS version check and assume it's already installed because it is. This is simply a function of setting your minimum supported OS version correctly.



来源:https://stackoverflow.com/questions/265376/directx-redistributable-package-breakdown

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!