vs2005 for cad2007 中strcpy' : cannot convert parameter 1 from 'TCHAR [20]
vs2005 for cad2007 中strcpy' : cannot convert parameter 1 from 'TCHAR ' to 'char *'<P>vs2005 for cad2007 中</P><P><BR> error C2664: 'strcpy' : cannot convert parameter 1 from 'TCHAR ' to 'char *'<BR> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<BR>怎么解决 </P> <P>TCHAR是32位,char是位,改类型把</P> 因为ObjectArx2007是Unicode版本的,所以VC字符处理函数也应该用支持Unicode版本的,比如:<br> _stprintf 替换 sprintf<br> _tcscpy 替换 strcpy<br>
页:
[1]