kala-tamin Windows analog to UNIX atoh() function


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?




How expand a CMD shell variable twice (recursively)

1:



C#-WebRequest in a Windows Service
long x = strtoul("A", (char **) NULL, 16); // x will be 10 decimal 


Are “code-signed” windows applications less vulnerable to virus infections?


Manipulation of Time in VC++

2:



How does srv.sys decide on raw vs core mode depending on the underlying filesystem?
unsigned long ten = strtoul("a", NULL, 16); should handle it, if you can get a plain old char *-representation out of the CString.


Dealing with files that Git refuses to reset?
The accepted solution using strtoul() does a signed conversion..
What is a good wiki with great spam protection that is easily hosted on Windows/IIS7? [closed]


Is there a command line utility to change the embedded Icon of a win32 exe?


91 out of 100 based on 61 user ratings 661 reviews