Reputation: 15093
How would I prevent an import lib from loading the DLL it refers to at runtime until I call something like, say, LoadLibrary?
LoadLibrary
Upvotes: 0
Views: 287
Reputation: 10557
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
Upvotes: 1