-2

因此,如果我想将我的程序分发到我用 C++ 制作的其他人的 PC 上,那台 PC 上绝对需要哪些 DLL 才能运行该程序?

4

3 回答 3

1

好吧,如果不知道您的程序做什么,特别是它使用什么库,这有点难以回答。

我认为这可以帮助你:

http://msdn.microsoft.com/en-us/library/8kche8ah.aspx

于 2013-03-19T15:08:00.530 回答
1

有一个名为dependency.exe 的工具可以帮助您确定:http: //www.dependencywalker.com/

Dependency Walker 是一个免费实用程序,它可以扫描任何 32 位或 64 位 Windows 模块(exe、dll、ocx、sys 等)并构建所有依赖模块的层次树图。

于 2013-03-19T15:08:37.077 回答
0

I recently had a similar issue and I tried several approaches, what finally helped me:

  • Get all linked DLLs with the already mentioned dependency walker
  • There may be DLLs loaded during runtime which may not show up in dependency walker: Use ListDlls on a started process or try using Process Monitor to determine which DLL files (in what paths) are actually opened by your executable.
于 2013-03-19T15:23:23.063 回答