About .DLL Files
What are .DLL files?
DLL (Dynamic Link Library) file, which is called "application program extension", is a software file type.
In windows, many applications are not a complete executable file. They are divided into some relatively independent dynamic link libraries, namely DLL files, and placed in the system. When we execute a program, the corresponding DLL file will be called.
You can simply think of a 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 the era of "no database static link library dynamic link library".
Both static link library and dynamic link library share code. If static link library is used, the instructions in lib will be directly included in the final generated EXE file whether you want to or not.
However, if a DLL is used, the DLL does not need to be included in the final EXE file. When the EXE file is executed, it can dynamically reference and unload the DLL file independent of exe. Another difference between the static link library and the dynamic link library is that the static link library can no longer contain other dynamic link libraries or static libraries, and can also contain other dynamic or static link libraries in the dynamic link library.