title: What is the difference between the x64 and x86 library files in DirectX?
body: <p>I recently got Visual Studio on a new computer, and to set up DirectX on it, I went to Tools>Options>Projects and Solutions>VC++ Directories and under Library Files made a new entry <code>C:\Program Files\Microsoft DirectX SDK (August 2009)\Lib\x86</code></p>
  
  <p>and now ran a test program (essentially just initialized DirectX) and it worked fine.  However, if I change <code>...\Lib\x86</code> to <code>...\Lib\x64</code>, than I get a linker error that <code>Direct3DCreate9</code> is undefined:</p>
  
  <pre><code>1&gt;main.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
  </code></pre>