I have a question? i have a TCHAR array(Wide charater array), and its size is 78. That has hex data which is as following "D2D10131A102CAF100125202CF8102F8F1006CF1001661014 8F000BCD20087F20099E103310102". I want to copy it over to unsigned char array, and the size of it is 39. How do i copy this data. I am lost big time. basically i need to read two characters at a time from TCHAR array, and assign it to unsigned char array. And i want to keep the data as it is. Please help me....
read D2 from tchar array and assign to frist index of unsinged char array