如何发现我的应用程序正在使用的.dll

Dr *_*Deo 0 c c++ dll graphics game-engine

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

应用程序编译正常,但我有dll(动态链接库)的地狱.编译后的应用程序在运行时崩溃,我怀疑它是因为没有找到所需的dll.

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

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

任何帮助将不胜感激.

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

来自博士

Des*_*egr 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.