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 );

posted on 2014-10-20 22:48  已停更  阅读(1616)  评论(0编辑  收藏  举报