title: Deleting TCHAR pointer
body: <p>I am trying to do make a C++ hello world that supports Unicode, but I am a little stuck.</p>
  
  <p>I made a pointer to a TCHAR [I think its a char array], and after using it, I attempt to delete it. It crashes saying <code>Expression: _BLOCK_TYPE_IS_VALID(pHead-&gt;nBlockUse)</code>.  </p>
  
  <p>Checking the interwebs, someone said it was because the wrong delete was used. I tried both deletes, but it still gives the same message.</p>
  
  <p>Did I miss something obvious?</p>
  
  <p>Code I tried:</p>
  
  <pre><code>TCHAR *str=TEXT("おはよう, World!");
  delete[] str;
  </code></pre>
  
  <p>Also tried:</p>
  
  <pre><code>TCHAR *str=TEXT("おはよう, World!");
  delete str;
  </code></pre>