ATL “char *”转换为“LPCWSTR”

WCHAR wsz[128]={0};
swprintf(wsz,L"%s",pTempPath);
MultiByteToWideChar(CP_ACP,0,strurl,-1,wsz,strlen(strurl));

posted @ 2014-10-27 15:31  kim_berley  阅读(138)  评论(0编辑  收藏  举报