There are some questions regarding dll and library .
I know,static library files are linked statically by linker at start up.On the other hand dll was used to link the required functions(code)at run time.
But, to link a dll why do we need an .lib file also.(As for a dll we have (1) an .h file - to compile against and (2)a .lib file to link agianst and (3)a .dll file itself.)?
What are the difference in the contents of .dll and .lib??
Why can't we have a .dll inspite of .lib and .dll???
Thanks and Regards,