头痛,PB源代码不能编译.

steve_shun 2003-10-09 08:45:33
PB6.5的HIS源代码,在一台机器上可以编译,另一台就是不行,初学PB,不知为什么,郁闷...
...全文
233 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
steve_shun 2003-10-09
  • 打赏
  • 举报
回复
谢谢各位大侠热心相助,接分啊.
地狱余烬 2003-10-09
  • 打赏
  • 举报
回复
我也有过着情况 :这说明你的程序里(不在一个.pbl里)存在两个以上的 'w_report' 窗体

去每个pbl里找'w_report' 肯定有两个以上,(你用Import了)
steve_shun 2003-10-09
  • 打赏
  • 举报
回复
加进去了!
编译成功,可以运行了.下面的信息是什么意思啊,请大侠指点.
Object: w_report
Object Variable Declarations
(0001): Information C0146: The identifier 'w_report' conflicts with an existing global variable with this name. The new definition of 'w_report' will take precedence and the prior value will be ignored until this version of 'w_report' goes out of scope
steve_shun 2003-10-09
  • 打赏
  • 举报
回复
runsoft(清风)大侠,就是PBL加不进去,小弟都快急死了.大侠救命,在PB6.5中PBL怎么个加法啊?
runsoft 2003-10-09
  • 打赏
  • 举报
回复
可能你编译的时候PBL没有加入全部,上面的意思是有的OBJECT没有连接到或者根本就不存在。
steve_shun 2003-10-09
  • 打赏
  • 举报
回复
PB6和PB6.5安装了无数遍,就是不行.不知是不是PB的问题?
steve_shun 2003-10-09
  • 打赏
  • 举报
回复
系统说这些代码是上一个版本的,要重新编译,结果冒出来下面这些信息:
Object: bagl
Global Variables
(0014): Error C0001: Illegal data type: u_external_function
Object: main_menu
Event: m_51::clicked
(0001): Error C0174: Type of actual parameter cannot be ancestor of formal reference parameter type.
Object: repo_sstj
Event: cb_2::clicked
(0002): Error C0051: Unknown function name: f_dw_print_options
Object: w_report
Event: pb_1::clicked
(0002): Error C0051: Unknown function name: f_dw_print_options
Object: w_bqyldty_repo
Forward Declarations
(0002): Error C0001: Illegal data type: w_report_father2
Object: w_bqyldty_repo_l
Forward Declarations
(0002): Error C0001: Illegal data type: w_report_father2
Object: w_cy_cx
Forward Declarations
(0002): Error C0001: Illegal data type: w_report_father2
Object: w_ry_cx
Forward Declarations
(0002): Error C0001: Illegal data type: w_report_father2
runsoft 2003-10-09
  • 打赏
  • 举报
回复
看看错误信息

1,075

社区成员

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

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