Hi All,
Is there any built-in function to convert an Hexadecimal value to Decimal value(Integer,not float)and viceversa. OR is there any easy way of doing it.---- But I want it to work for a wide range of values.

The Exact problem is --- I have an application where the user is asked to type a value and this value is the input to my function. Here I am using an Edit Box to get the input--- and the input to my function must be a hexa value.

--To be precise, If the user types in 20000 in the edit box, and I use GetDlgItemText()function to get the string value and use atol()function to get the integer value. I value I get will be 20000 only and not 20000hexa or not even the decimal value of 20000.

Thanks in Advance...
Vittal