在哪里可以找到 Windows(XP、Vista、7、...)上可用的默认 dll 文件列表?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3184924/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where to find list of default dll files available on Windows (XP, Vista, 7, ...)?
提问by Rabarberski
Is there some list of .dll files that are available on the various freshly-installedWindows platforms (or at least, the recent ones like Win XP and Win 7)? I am looking for a list similar to this one for Windows 2000.
是否有一些 .dll 文件列表可用于各种新安装的Windows 平台(或者至少是最近的 Win XP 和 Win 7 平台)?我正在寻找一个类似于Windows 2000的列表 。
(I am compiling a python app with py2exe, and the application reports which dlls are required for potential distribution with the compiled application, but unfortunately it doesn't tell me which ones are installed by default)
(我正在用 py2exe 编译一个 python 应用程序,该应用程序报告编译后的应用程序的潜在分发需要哪些 dll,但不幸的是它没有告诉我默认安装了哪些 dll)
采纳答案by Skilldrick
I think thisis what you're after (at least for Windows 7).
我认为这就是您所追求的(至少对于 Windows 7)。
回答by Doc Brown
If you are targeting different windows versions with your application, it is a reallygood idea to set up a virtual test environment for each of the primary target platforms, for example, using VMware, MS Virtual PCor Oracle Virtual Box. If you then still need the list of all available DLLs, just look in the windows folders after a fresh install in the virtual machine by yourself.
如果您的应用程序针对不同的 Windows 版本,那么为每个主要目标平台设置一个虚拟测试环境是一个非常好的主意,例如,使用VMware、MS Virtual PC或Oracle Virtual Box。如果您仍然需要所有可用 DLL 的列表,请自行在虚拟机中全新安装后查看 windows 文件夹。
By the way, having a look on the py2exe tutorial site, the example shows up ADVAPI32.dll
,
USER32.dll
,SHELL32.dll
and KERNEL32.dll
as DLLs on which the generated files depend. AFAIK those DLLs are primary windows components, not to be deployed by your program, and available under all Windows versions I had to deal with the last 15 years.
顺便说一句,有在py2exe教程网站一看,例如显示出来ADVAPI32.dll
,
USER32.dll
,SHELL32.dll
并KERNEL32.dll
为DLL文件上生成的文件依赖。AFAIK 这些 DLL 是主要的 Windows 组件,不会由您的程序部署,并且在我过去 15 年必须处理的所有 Windows 版本下都可用。