error C2660: 'wcscpy_s' : function does not take 2 arguments

_tcscpy_s(m_item.sztype, ITEMTYPE_TEXT);

 

 

tptextitem.cpp(119) : error C2660: 'wcscpy_s' : function does not take 2 arguments

 

原因选择的字符集不对。修改:

Property -> C/C++ -> Language -> Treat wchar_t as Built-in Type 选择为 No (/Zc:wchar_t-)

你可能感兴趣的:(c,function)