turn string into wchar_t code example
Example: string to wchar_t
wchar_t* wide_string = new wchar_t[ s.length() + 1 ];
std::copy( s.begin(), s.end(), wide_string );
wide_string[ s.length() ] = 0;
foo( wide_string );
delete [] wide_string;
wchar_t* wide_string = new wchar_t[ s.length() + 1 ];
std::copy( s.begin(), s.end(), wide_string );
wide_string[ s.length() ] = 0;
foo( wide_string );
delete [] wide_string;