title: why do I need to link a lib file to my project?
body: <p>I am creating a project that uses a DLL. To build my project, I need to include a header file, and a lib file. Why do I need to include the respective lib file? shouldn't the header file declare all the needed information and then at runtime load any needed library/dll?</p>
  
  <p>Thanks</p>