If it is VS2005, you can transfer directly.
Char to wchar_t is very simple, just add' l' before the char variable, for example:
wchar _ t wc = L 'c
From Wchar_t to char, I wonder if there will be any information lost.
If you want to convert wchar_t string into char string, you can refer to here:
/t/200 10426/ 13/ 106005 . html