问题
How would I prevent an import lib from loading the DLL it refers to at runtime until I call something like, say, LoadLibrary
?
回答1:
Maybe you need this:
http://www.west-wind.com/weblog/posts/2007/Dec/02/Delay-Loading-a-DLL-with-a-Linker-Switch-in-Visual-Studio
http://www.codeproject.com/Articles/273419/Dynamic-Libraries-with-Delayed-Function-Loading
来源:https://stackoverflow.com/questions/12685664/prevent-lib-from-loading-dll-at-runtime