0

我正在尝试在我的图形应用程序中使用水晶空间 API。 水晶空间网站

应用程序编译得很好,但我对 dll(动态链接库)感到很困惑。编译的应用程序在运行时崩溃,我怀疑它是因为没有找到所需的 dll。

我目前唯一的解决方案是将我的应用程序可执行文件剪切并粘贴到一个包含所有必要库的文件夹中。(大约 300mb)。

有没有办法可以找出我的应用程序需要的 dll 以便我可以复制它们?(而不是使用所有 dll)

任何帮助将不胜感激。

PS:我正在使用 g++ 和 codeblocks ide

来自德奥博士

4

2 回答 2

6

您可以使用Dependency Walker

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules.

于 2010-02-14T15:21:43.663 回答
3

试试Steve Miller的Dependency Walker

于 2010-02-14T15:21:22.323 回答