Prevent .lib from loading DLL at runtime

孤者浪人 提交于 2020-01-25 08:49:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!