AssaultCube Reloaded Forums

Full Version: about the dll
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is something I'd like to know about the dynamic libraries : what make a function or a variable will be supposed to be in a such library and not in the main executable ?
For most projects, functions and variables from a different project will be in a .dll instead of the .exe.
It isn't what I mean.

When a compiler make a new executable, it need to know what will be in this executable and what will be found in a dll.

I mean what in the code make the compiler knows if a function or a variable will be or not in the executable and, if not, what will be the name of the dynamic library where find it ?
I think source/lib contains .lib files, which can be for both static and dynamic libraries.
Theorically, MinGW don't use .lib files, the problem must be in the .a files I downloaded.