Platform SDK: DLLs, Processes, and Threads

Advantages of Dynamic Linking

Dynamic linking has the following advantages over static linking:

A potential disadvantage to using DLLs is that the application is not self-contained; it depends on the existence of a separate DLL module. The system terminates processes using load-time dynamic linking if they require a DLL that is not found at process startup and gives an error message to the user. The system does not terminate a process using run-time dynamic linking in this situation, but functions exported by the DLL are not available to the program.