title: how to call unmanaged dll from managed c++
body: <p>I am calling an unmanaged DLL from managed C++. The DLL has more than one native dependency. I am trying to compile this through Visual Studio.</p>
  
  <p>I have done the following:</p>
  
  <ol>
  <li><p>Added the directory that contains the DLLs and the .lib to Properties -> VC++ Directories -> Library directories</p></li>
  <li><p>Added the unmanaged .lib to Properties -> Input -> Additional Dependencies</p></li>
  </ol>
  
  <p>However, I get linking errors for the functions that I refer to. I haven't added any DLL or lib to the project except for the header file of the library.</p>
  
  <p>UPDATE:
  So it is able to find the .lib because if I give a bogus .lib in additional dependencies I get compilation error of the .lib not found. The error that I have is "unresolved token .... " . </p>