Hi,
I have to convert a hex value to int, for that I use

Variable are of foll. type..
std::string pFirstStr
wchar_t ptrTemp;

nChar = _tcstol(pFirstByteStr.c_str(), &ptrTemp,16);//Problem is here

as I have to support unicode.

Can u suggest solution, by which I can convert a hex value in std::string variable to int using UNICODE supported function...

Regs