Take wchar_t and put into char?
<p>i've tried a few things and haven't yet been able to figure out how to get <code>const wchar_t *text</code> (shown bellow) to pass into the variable <code>StoreText</code> (shown below). What am i doing wrong?</p>

<pre><code>void KeyboardComplete(int localClientNum, const wchar_t *text, unsigned int len)
{
    char* StoreText = text; //This is where error occurs
}
</code></pre>