std::wstring s_value = L"0xc";
int i_value == 12;
std::wstringstream ss; ss << std::dec << s_value; ss >> i_value;