vs2013 多字节字符集编译错误
如题:错误代码if (lpFilePath != NULL)
{
_stprintf_s(lpFilePath, _T("\"%s\""), szFilePath);
_tcscpy(szFilePath, lpFilePath);
delete[]lpFilePath;
}错误信息
错误 1 error C2664: “int sprintf_s(char *,size_t,const char *,...)”: 无法将参数 2 从“const char ”转换为“size_t 2 IntelliSense:没有与参数列表匹配的 重载函数 "sprintf_s" 实例
参数类型为:(TCHAR *, const char , TCHAR )
页:
[1]