title: PKCS #11 unresolved external symbol
body: <p>Trying to write a simple program to try out PKCS #11 with a software based HSM.</p>
  
  <p>Using Windows 10, Visual Studio, and C++.</p>
  
  <p>I downloaded the pkcs header files and have #include "pkcs11.h" at the top of my code.</p>
  
  <p>I have also copied the "softhsm2.dll" file to System32 and SysWOW64 .</p>
  
  <p>However, if I try to use "C_Initialize(NULL)" or any other PKCS#11 function, when I compile I receive the error:</p>
  
  <p>LNK2019 unresolved external symbol in function...</p>
  
  <p>and pointing to the PKCS#11 function.</p>
  
  <p>What am I missing? Do I need to link to the DLL within Visual Studio?</p>
  
  <p>Thanks.</p>
  
  <p>qin__23</p>