kellyyang1 发表于 2004-10-28 19:59:00

unknown character '0xa3'错误???

我想设置一个新的图层,并使它为当前图层,写的代码如下acedCommand(RTSTR,"layer",RTSTR,"m",RTSTR,"GDH",RTSTR,"S",RTSTR,"GDH",RTSTR,"",0);编译连接产生如下的错误:



F:\yww\ARX管网计算\ARX管网计算Commands.cpp(40) : error C2018: unknown character '0xa3'<BR>F:\yww\ARX管网计算\ARX管网计算Commands.cpp(40) : error C2018: unknown character '0xac'<BR>F:\yww\ARX管网计算\ARX管网计算Commands.cpp(40) : error C2143: syntax error : missing ')' before 'constant'<BR>F:\yww\ARX管网计算\ARX管网计算Commands.cpp(40) : error C2059: syntax error : ')'<BR>Error executing cl.exe.请问是什么原因呢??呵呵,谢谢

王咣生 发表于 2004-10-28 20:10:00

acedCommand(RTSTR,"layer",RTSTR,"m",RTSTR,"GDH",RTSTR,"S",RTSTR,"GDH",RTSTR,"",0);


注意检查'逗号'!

kellyyang1 发表于 2004-10-28 20:43:00

呵呵,兄台真是厉害,是那原因,谢谢了
页: [1]
查看完整版本: unknown character '0xa3'错误???