title: Easiest way to convert UnicodeString to const char* in c++?
body: <p>I'm new in c++ and have problem with converting UnicodeString to string, so now searching for easiest method to convert from one type to other.</p>
  
  <p>I want to use basic windows function which needs string with UnicodeString, how to make code work?</p>
  
  <pre><code>UnicodeString Exec = "notepad";
  WinExec(Exec.c_str(), 0);
  </code></pre>
  
  <p>Environment used is c++ builder xe2</p>