Application Terminated错误

lijinleejoon 2008-04-22 06:54:14
Error:Object file m_anal is out of date,must beconverted to current version at line 2 in create event of object w_main

提示以上的错误!!

下面是open代码:

///***************************************
//**'查初始化文件并设置全局变量__96/11/7'
//**
//****************************************/
string ls_cmd,ls_sys
int li_pos

ls_cmd=commandline


li_pos=pos(ls_cmd,'sys=')
gs_sysname='s_gds'//商品流转

gi_defmenu=1
gs_inifile='beyond.ini'

if fl_file_exists('',gs_inifile)=-1 then
halt
end if

if fl_connect_trans(gs_inifile,'sqlca',sqlca)=-1 then
halt
end if

gt_cfg=sqlca

if afs_init_global()=-1 then
halt
end if

datetime ldt_dt

//select getdate() into :ldt_dt from tb_mktinfo;
//if afs_chk_sql_state( gt_cfg,'获取系统时间' )<>-1 then
// fs_set_sys_time(ldt_dt)
//end if

open(w_main)

//bill change 99-9-6


if isnull(li_pos) or li_pos=0 then
// gs_sysname='s_anal'//促销管理
// gs_sysname='s_attract'//促销管理
// gs_sysname='employee'//人事管理
// gs_sysname='s_sales'//销售
// gs_sysname='s_system'//系统维护
// gs_sysname='gds_flow'//商品流转
// gs_sysname='s_bill'//商品流转
gs_sysname='s_gds'//商品流转
// gs_sysname='s_test'//测试
// gs_sysname='s_init'//测试
// gs_sysname='s_cust'//顾客查询
// gs_sysname='s_outer_card'//外部磁卡接口
else
messagebox('bb','bb')

ls_sys=trim(mid(ls_cmd,li_pos+4))
li_pos=pos(ls_cmd,' ')
if isnull(li_pos) or li_pos=0 then
gs_sysname=ls_sys
else
gs_sysname=left(ls_sys,li_pos - 1)
end if
end if

gi_defmenu=1
gs_inifile='beyond.ini'

if fl_file_exists('',gs_inifile)=-1 then
halt
end if

//gt_cfg=create transaction
//
//if fl_connect_trans(gs_inifile,'cfg_tran',gt_cfg)=-1 then
// halt
//end if

if fl_connect_trans(gs_inifile,'sqlca',sqlca)=-1 then
halt
end if

gt_cfg=sqlca

if afs_init_global()=-1 then
halt
end if
...全文
1013 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
青锋-SS 2008-04-29
  • 打赏
  • 举报
回复
regenearte/migrate
hrj819 2008-04-29
  • 打赏
  • 举报
回复
恩,我遇到了类似的问题,确实右键绿色圆圈的那个好像叫应用程序吧,本人刚学PB一周,右键出现了incremental build.点击它,程序就可以正常了
lllyyymmm 2008-04-24
  • 打赏
  • 举报
回复
问题不是出在这,应该是哪个对象在constructor的时候出差,你还是检查一下
青锋-SS 2008-04-23
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 dawugui 的回复:]
点击对象,右键,优化为当前版本.

好象叫gen....
[/Quote]蝗族升星了也不散分.
I_am_Z 2008-04-23
  • 打赏
  • 举报
回复
up,重新生成一下。
SKY_4K_PPM 2008-04-23
  • 打赏
  • 举报
回复
选中该对象
REGENERATE.
lijinleejoon 2008-04-23
  • 打赏
  • 举报
回复
还是不行啊
PB软件仍然报错
dawugui 2008-04-22
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 dawugui 的回复:]
点击对象,右键,优化为当前版本.

好象叫gen....
[/Quote]
好象叫reger....
dawugui 2008-04-22
  • 打赏
  • 举报
回复
点击对象,右键,优化为当前版本.

好象叫gen....
lijinleejoon 2008-04-22
  • 打赏
  • 举报
回复
然后,PowerBuilder软件就会报错

提示:

Sybase PowerBuilder遇到问题需要关闭!

有哪位高手,帮我看看,谢谢!

609

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder DataWindow
社区管理员
  • DataWindow社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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