gpt4 book ai didi

c - 在 DllMain() 之前调用了哪些函数?

转载 作者:太空狗 更新时间:2023-10-29 15:58:33 25 4
gpt4 key购买 nike

哪些函数在 DllMain() 之前被调用?如果在 C 运行时初始化期间不止一个,那么顺序很重要。

最佳答案

来自source :-

If your DLL is linked with the C run-time library (CRT), the entry point provided by the CRT calls the constructors and destructors for global and static C++ objects. Therefore, these restrictions for DllMain also apply to constructors and destructors and any code that is called from them.

关于c - 在 DllMain() 之前调用了哪些函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18366705/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com