How to: Convert Between Various String Types // -- Decimal Conversions // Decimal To Hex // Use _itoa( ) function and set radix to 16. In hexstring is 1e. char hexstring[10]; int number = 30; itoa( number, hexstring, 16); // Hex To Decimal char * hexstring= "ABCDEF"; char * p; int number = strtol(hexstring, &p,16); bool HexToDecimal (char* HexNumber, int& Number) { char* pStopString; Number = strtol (HexNumber, &pStopString, 16); return (bool)(Number != LONG_MAX); } // Decimal to time char *DecToTime(float fTime, char *szTime) { int nHrs, nMin, nSec; fTime *= 3600; nHrs = (int)fTime / 3600; nMin = (int)(fTime - nHrs * 3600) / 60; nSec = (int)(fTime - nHrs * 3600 - nMin * 60); wsprintf(szTime, "%02d.%02d.%02d Hrs.Min.Sec.", nHrs, nMin, nSec); return szTime; } // -- String Conversions // String to Hex // where string = your string and // 04 = length of your string and X = hex sscanf(string, %04X, &your_word16); // Hex to CString CS...