Q:WCHAR转化为CHAR
A:
int len =WideCharToMultiByte(CP_ACP,0,此处是WCHAR的参数,-1,NULL,0,NULL,NULL);
WideCharToMultiByte(CP_ACP,0,此处是WCHAR的参数,-1,此处是char的参数,len,NULL,NULL );
A:
int len =WideCharToMultiByte(CP_ACP,0,此处是WCHAR的参数,-1,NULL,0,NULL,NULL);
WideCharToMultiByte(CP_ACP,0,此处是WCHAR的参数,-1,此处是char的参数,len,NULL,NULL );