谁能帮我解决他,我给你50分

yuechun 2001-10-24 05:26:05
Object: u_webbrowse
ole_local Class Declaration
(0002): Information C0149: The identifier 'text' conflicts with an existing property with this name in the parent class. The new definition of 'text' will take precedence and the prior value will be ignored until this version of 'text' goes out of scope
(0007): Information C0149: The identifier 'text' conflicts with an existing property with this name in the parent class. The new definition of 'text' will take precedence and the prior value will be ignored until this version of 'text' goes out of scope
(0009): Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
(0010): Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
ole_web Class Declaration
(0002): Information C0149: The identifier 'text' conflicts with an existing property with this name in the parent class. The new definition of 'text' will take precedence and the prior value will be ignored until this version of 'text' goes out of scope
(0007): Information C0149: The identifier 'text' conflicts with an existing property with this name in the parent class. The new definition of 'text' will take precedence and the prior value will be ignored until this version of 'text' goes out of scope
(0009): Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
(0010): Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
Event: ole_web::titlechange
(0001): Information C0149: The identifier 'text' conflicts with an existing property with this name in the parent class. The new definition of 'text' will take precedence and the prior value will be ignored until this version of 'text' goes out of scope
Object: u_edit
ole_main Class Declaration
(0006): Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
Object: u_print
ole_main Class Declaration
(0006): Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
(0008): Information C0148: The identifier 'cancel' conflicts with an existing property with this name. The new definition of 'cancel' will take precedence and the prior value will be ignored until this version of 'cancel' goes out of scope
这些错误如何解决?
...全文
97 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuechun 2002-01-17
  • 打赏
  • 举报
回复
谢谢
beatles_mylove 2001-10-24
  • 打赏
  • 举报
回复
都是些警告信息
大可不必如此惊慌
编译后不会出错的
但以后写程序要养成习惯
不要用这些诸如cancel、text等作变量名

另外
有些OCX控件,其事件中的变量命名用到了这些,可以手工更改过来就是了
比如formula one就有这毛病
咚咚咚咚咚咚 2001-10-24
  • 打赏
  • 举报
回复
同意
lzheng2001 2001-10-24
  • 打赏
  • 举报
回复
用Replace方式修改呀
lzheng2001 2001-10-24
  • 打赏
  • 举报
回复
原因是你这些变量与系统的本身的变量名重复如:TEXT
解决:将所有的TEXT、CANCEL变量改名:如TEXT1、CANCEL1
killerdanny 2001-10-24
  • 打赏
  • 举报
回复
hehe!

1,079

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧