开发者

Mulitple DllMain in the program how to prevent that

开发者 https://www.devze.com 2023-02-14 15:29 出处:网络
Today I found an interest thing when I debug a program. There are two DLLMains compiled into the final program. One in the main program, the another in a third party static library. I am using MSVC 20

Today I found an interest thing when I debug a program. There are two DLLMains compiled into the final program. One in the main program, the another in a third party static library. I am using MSVC 2005, the compiler issued no errors/warnings.

My question is - how to prevent this from happening again? We have开发者_JAVA技巧 a dozen static libraries to link.

0

精彩评论

暂无评论...
验证码 换一张
取 消