// string to CString
CString(it->strFileName.c_str())
// CString to string
char szCategory[256] = {0};
wcstombs(szCategory, strCategory, strCategory.GetLength());
// string to CString
CString(it->strFileName.c_str())
// CString to string
char szCategory[256] = {0};
wcstombs(szCategory, strCategory, strCategory.GetLength());