title: Best way to determine if two path reference to same file in Windows?
body: <p>How would I compare 2 strings to determine if they refer to the same path in Win32 using C/C++?</p>
  
  <p>While this will handle a lot of cases it misses some things:</p>
  
  <pre><code>_tcsicmp(szPath1, szPath2) == 0
  </code></pre>
  
  <p>For example: </p>
  
  <ul>
  <li><p>forward slashes / backslashes</p></li>
  <li><p>relative / absolute paths.</p></li>
  </ul>
  
  <p>[Edit] Title changed to match an existing C# question.</p>