windows programming
How to convert char* to LPCWSTR?
tomato13
2015. 10. 16. 09:31
http://stackoverflow.com/questions/19715144/how-to-convert-char-to-lpcwstr
LPCWSTR convertCharArrayToLPCWSTR(const char* charArray)
{
wchar_t* wString = new wchar_t[4096];
MultiByteToWideChar(CP_ACP, 0, charArray, -1, wString, 4096);
return wString;
}