Hi,all
I want to convert juce::String* to wchar_t*, and is there some way to do it?
Thank
best
leon
Hi,all
I want to convert juce::String* to wchar_t*, and is there some way to do it?
Thank
best
leon
Jules replied before: WCHAR is the same as a juce wide char, so just cast it.
could you give me example, and hwo to do juce::String ----> wchar_t,
juce::String*---->wchar_t*
Thankyou!
Best
[code]const String myJuceString (T(“Hello”));
const wchar_t* name = (const wchar_t*)myJuceString;[/code]
?
Thank you.
It works.
Best
Leon