我遇到了 VB6 DLL 的问题,其中一些行为让我怀疑 Windows 是否在一段时间不活动后将其从内存中卸载。是否有任何好的应用程序/技术来确定在给定点将哪些 DLL 加载到内存中?
如果这有什么区别的话,我正在使用 Windows XP。
最佳答案
Msinfo32.exe(快速)
Use Msinfo32.exe by hitting run then entering Msinfo32.exe. Then, to see DLLs are loaded into a memory, select Software Environment then Loaded Modules category from the bottom of the left pane. Each item from the Loaded Modules category represents an application extension or a system resource that is currently loaded in memory. The right pane lists the DLL name, fully qualified path to all modules (drivers, fonts, dynamic link libraries and executable files), process, DLL version, size, date and manufacturer in memory.
Sysinternals Process Explorer(免费/更强大)
Process Explorer is a GUI/device driver combination that together shows information about which handles and DLL processes have opened and loaded in memory. The unique capabilities of Process Explorer make it useful for tracking down DLL version problems or handle leaks, and provide insight into the way Windows and applications work and more.
Sysinternals Process explorerer download site
好文章,我得到了引用的信息:here
关于winapi - 确定内存中有哪些 DLL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1930071/