Mulitple DllMain in the program how to prevent that
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.
精彩评论