title: api-ms-win-core-synch-l1-2-1.dll is missing from your computer
body: <p>I am developing a C/C++ application using Visual Studio Community 2015.</p>
  
  <p>I used to build my application the system library: OneCoreUAP.lib. I am using Windows 8.1.</p>
  
  <p>I used the function if_nametoindex defined in <a href="https://msdn.microsoft.com/en-us/library/windows/hardware/ff553788%28v=vs.85%29.aspx?f=255&amp;MSPPError=-2147217396" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/windows/hardware/ff553788%28v=vs.85%29.aspx?f=255&amp;MSPPError=-2147217396</a> </p>
  
  <p>In the link they specifies that you require ONeCOreUAP.lib</p>
  
  <p>but I found Another links that indicates another library: Iphlpapi.lib:  <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/bb408409%28v=vs.85%29.aspx?f=255&amp;MSPPError=-2147217396" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/windows/desktop/bb408409%28v=vs.85%29.aspx?f=255&amp;MSPPError=-2147217396</a></p>
  
  <p>When launching my app I getting the following error:</p>
  
  <pre><code>The program can't start because api-ms-win-core-synch-l1-2-1.dll is missing from your computer. 
  Try reinstalling the program to fix this problem.
  </code></pre>
  
  <p>This is the message image:
  <a href="https://i.stack.imgur.com/JON2F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JON2F.png" alt="api-ms-win-core-synch-l1-2-1.dll is missing from your computer"></a></p>
  
  <p>When searching the dll, I know from the this link:
  <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/mt657574(v=vs.85).aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/windows/desktop/mt657574(v=vs.85).aspx</a></p>
  
  <p>that:</p>
  
  <pre><code>Introduced into api-ms-win-core-synch-l1-2-1.dll in Windows 10.0.10240.0
  </code></pre>
  
  <p>I tried to update the Windows 10 SDK, But this did not solve the problem.</p>
  
  <p>How to solve the problem? Should I upgrade my windows 8.1 to windows 10 to solve it?</p>