Windows analog to UNIX atoh() function

Is there in Windows API or in MFC any analog to atoh() function?

atoh() converts a string containing a hexadecimal number into an unsigned number like

unsigned x = atoh("A");

and x = 10 after the operation.

In Windows I have a CString, containing "A". How can I convert it to int?


long x = strtoul("A", (char **) NULL, 16);
// x will be 10 decimal

Need Your Help

Changing form input to lowercase

php forms input get lowercase

I'm using a code for a form that redirects the user based on the input of the form. I got it from here:

What does FSTP DWORD PTR DS: do?

debugging assembly cpu-registers ollydbg

I am trying to learn more about assembly and disassembly.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.