Hi all..
I would like to convert a hex to CString format..
I had try like below I shown, but failed to convert into CString format that I wish to..
Here is the example I tried..
CString sz;
unsigned short test = 0xB0FF0000;
sz.Format("%X", test);
then I got sz = "0x0000"..and this value is not the value that I given to convert..
I'm using Microsoft Visual C++ 6.0..with SP4 and SP5..
can anyone tell me how to convert a Hex to CString..??
Please advice..
Thank you..
shizu..