Hello all,
I am a little confused about .lib and .dll files. I always thought that .lib files refer to a static library and that a .dll is the dynamic library. Recently, i read that .lib files also act as a stub for a .dll and that the .lib files are used by the linker in order to load the dll into memory.
Now, i'm confused as to what are these lib files. Also, when I download binaries for libraries, say a library for loading jpeg images, i generally get a .lib and a .dll file. And in the linker options for the IDE, I would set the .lib file as a dependency.
Now, i'm not sure as to what those .lib files are, and what exactly is the difference between the two.
Can anyone please clarify this for me?
Thanks a lot!