//char* => wchar
char src[100] = "aaaaaa";
int size=MultiByteToWideChar(CP_ACP,0,src,-1,NULL,0);
wchar_t *ch=new wchar_t[size+1];
if(!MultiByteToWideChar(CP_ACP,0,src,-1,ch,size))
{
return false;
}
wstring wstr=ch;
//CString => string
CString cstr;
std::string s = CT2CA(cstr);