title: Using itoa with a TCHAR
body: <p>I have a Win32 C++ Application which supports UNICODE. I have a problem where I am using the itoa() function but I get a compile error because I am passing a TCHAR* as the parameter instead of a char*.</p>
  
  <p>What can I do to make it work?</p>
  
  <pre><code>TCHAR buf[32];
  itoa( taskState, buf, 10 );
  </code></pre>