【发布时间】:2009-05-17 12:20:07
【问题描述】:
我有 2 个 dll:A 和 B。
从 dll A 中的代码,我动态加载 dll B(在 Unix 上使用 dlopen,在 Windows 上使用 LoadLibrary)。是否保证 B 会在 A 之前卸载?
Unix 和 Windows 的行为有什么不同吗?
【问题讨论】:
标签: dll shared-libraries
我有 2 个 dll:A 和 B。
从 dll A 中的代码,我动态加载 dll B(在 Unix 上使用 dlopen,在 Windows 上使用 LoadLibrary)。是否保证 B 会在 A 之前卸载?
Unix 和 Windows 的行为有什么不同吗?
【问题讨论】:
标签: dll shared-libraries
无法保证首先卸载哪个 DLL(Unix 和 WIndows 在这一点上没有区别)。
【讨论】: