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