title: Correct way to check if Windows is 64 bit or not, on runtime? (C++)
body: <pre><code>bool Win64bit = (sizeof(int*) == 8) ? 1 : 0;
  </code></pre>
  
  <p>I need this so my app can use Windows registry functions properly (or do i need?).</p>
  
  <p>So am i doing it right ?</p>