title: Visual C++ error with ftd2xx.h
body: <p>i have make a cpp empty project in Visual Studio 2013.
  i add a form (not use it at this time)</p>
  
  <p>in this code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;windows.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;conio.h&gt;
  #include "ftd2xx.h"
  
  using namespace std;
  
  int main()
  {
      FT_HANDLE ftHandle;
      FT_STATUS ftStatus;
  
      ftStatus = FT_Open(0, &amp;ftHandle);
      if (ftStatus != FT_OK)
      {
          cout &lt;&lt; "FTDI ERROR TO OPEN\n";
      }
  
      cout &lt;&lt; "fdfd";
      return 0;
  
  }
  </code></pre>
  
  <p>i take this errors:</p>
  
  <pre><code>Error   1   error LNK2028: unresolved token (0A000410) "extern "C" unsigned long __stdcall FT_Open(int,void * *)" (?FT_Open@@$$J18YGKHPAPAX@Z) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)    
  
  Error   2   error LNK2019: unresolved external symbol "extern "C" unsigned long __stdcall FT_Open(int,void * *)" (?FT_Open@@$$J18YGKHPAPAX@Z) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ) 
  
  Error   3   error LNK1120: 2 unresolved externals   
  </code></pre>
  
  <p><em>*</em> In my project path "Documents\Visual Studio 2013\Projects\Project1\Project1"</p>
  
  <p>i have put the files:</p>
  
  <pre><code>-- FTD2XX.dll
  -- ftd2xx.h 
  -- ftd2xx.lib
  </code></pre>
  
  <p>also i used this pdf (PAGE 13) to link the ftd2xx.lib file</p>
  
  <p><a href="http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_109%20instrustions%20on%20Including%20the%20FTD2xx%20DLL%20in%20VS2008%20Project.pdf" rel="nofollow">http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_109%20instrustions%20on%20Including%20the%20FTD2xx%20DLL%20in%20VS2008%20Project.pdf</a></p>