總用到這個(gè)轉(zhuǎn)化,記下來(lái)
wchar_t* atow(char* src)


{
int dest_len;
dest_len = MultiByteToWideChar(CP_ACP,0,src,-1,NULL,0);
wchar_t *dest = new wchar_t[dest_len];
if(dest == NULL)
return NULL;
MultiByteToWideChar(CP_ACP,0,src,-1,dest,dest_len);
return dest;
}