Search code examples
dllshared-librariesstatic-librariesdynamic-linkingdynamic-library

Import Library benefit


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


Solution

  • 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.