我正在创建一个主要供非 Delphi 调用者使用的 [Windows] DLL。我想使用一些现有的“库”代码,但如果在 DLL 中执行,有些部分可能不合适或有问题。
有没有办法检测代码是否在 DLL 中运行?
最佳答案
Indicates whether the module is a shared library.
The IsLibrary variable is True if the module is a dynamic link library (DLL).
关于windows - 如何检测 Delpi 代码是否在 DLL 中运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55543856/