title: c++ 'CA2W': identifier not found
body: <p>why do i get 'CA2W': identifier not found</p>
  
  <pre><code>for(DWORD i = 0; i &lt; numMaterials; i++)    // for each material...
      {
          material[i] = tempMaterials[i].MatD3D;    // get the material info
          material[i].Ambient = material[i].Diffuse;    // make ambient the same as diffuse
          USES_CONVERSION;    // allows certain string conversions
          // if there is a texture to load, load it
          D3DXCreateTextureFromFile(d3ddev,
                                              CA2W(tempMaterials[i].pTextureFilename),
                                              &amp;texture[i]);
          texture[i] = NULL;    // if there is no texture, set the texture to NULL
        }
  </code></pre>