Import Library benefit

2019-09-20 10:27发布

问题:

I understand pros and cons of static and dynamic linking. But what is the benefit of Import Library?

回答1:

As it is stated in this answer import library (a.k.a. stub library) is useful when one wants to link executable dynamically but do not want to mess with LoadLibrary and GetProcAddress functions.