title: How to link third party library into my project in visual studio?
body: <p>I am trying to import C++ third party library:</p>
  <pre><code>1- FKAttend.h
  2- FKAttend.lib
  3- FKAttend.dll
  </code></pre>
  <p>In header file it uses implicit linking to call the functions</p>
  <pre><code> #ifdef _FKATTEND
      #define FP_EXPORT __declspec(dllexport) APIENTRY
  #else
      #define FP_EXPORT __declspec(dllimport)
  #endif
  </code></pre>
  <p>My step in Visual Studio 2019
  1- I have included path of header file
  2- Linked FKAttend.lib by adding FKAttend.lib to &quot;Additional Dependencies&quot; and FKAttend.lib file path into &quot;Additional Library Directories&quot;
  And I get this error when I call a simple function from <code>FKAttend.h</code>
  <a href="https://i.stack.imgur.com/vouYr.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I tried same thing in Eclipse, also I got an error
  <a href="https://i.stack.imgur.com/nAM7M.jpg" rel="nofollow noreferrer">enter image description here</a></p>