It can be simply thought of DLL as a repository that provides you with variables, functions, or classes that you can use directly. In the history of warehouse development, it has experienced "no library".
- the era of static link library dynamic link library. Static link libraries and dynamic link libraries are both ways to share code. If static link libraries are used, the instructions in lib are directly contained in the resulting EXE file, whether you like it or not. But if you use DLL, the DLL need not be included in the end.
In an EXE file, the EXE file can "dynamically" refer to and uninstall the DLL file that is independent of the EXE when executed. Another area of static link library and dynamic link library.
The difference is that static link libraries can no longer contain other dynamic link libraries or static libraries, and dynamic link libraries can also contain other dynamic or static link libraries.