Convert hex string to int number.
int Hex2Dec( LPSTR lpszHex )
returns numeric from hex string if successfully.
EX1
void Hex2Dec_ex1() { string str = "2A"; char* pchar = str.GetBuffer(20); int nn = Hex2Dec(pchar); out_int("",nn); // output 42 }
origin.h