Hi All,

I have unsigned char * buffer in which some data are stored , now I want to move these all data to my CString variable for some operations.

I tried to copy but problem is that in my unsigned char * some data are padded as zero, So I hope that in CString it gets the null value so it can not copy whole data.

I tried to copy from unsigned char * to the CString using...

CString tmpMsg = CString(msg); // Here msg is the unsigned char *

Ashish