UCHAR * to CString OR Reverse Converting
// CString to-> unsigned char *(UCHAR*)
CString cTmp(“abcdef”);
unsigned char * Test = (unsigned char*)cTmp.GetBuffer(cTmp.GetLength());
// unsigned char * to=> CSTring
CString str(Test);
// CString to-> unsigned char *(UCHAR*)
CString cTmp(“abcdef”);
unsigned char * Test = (unsigned char*)cTmp.GetBuffer(cTmp.GetLength());
// unsigned char * to=> CSTring
CString str(Test);
Henüz geridönüş yok.