0
点赞
收藏
分享

微信扫一扫

PBKiller的create和destroy的一点点小问题(PB反编译)

金穗_ec4b 2023-04-03 阅读 67


pbkiller在生成careate和destroy时,

正常时应该为:

on w_test111.create
 int iCurrent
 call super::create
 this.dw_2=create dw_2
 iCurrent=UpperBound(this.Control)
 this.Control[iCurrent+1]=this.dw_2
 end on----------
pbkiler导出是:
on w_test111.create
 call super::create;        //它模仿了其他的继承事件的写法。其他事件如果勾选:Extend Ancestor Script时有call super::eventname。如果取消打钩则消失。
 int iCurrent
 this.dw_2=create dw_2
 iCurrent=UpperBound(this.Control)
 this.Control[iCurrent+1]=this.dw_2
 end on-----------

但在create和destroy中是直接的使用call super而非代码扩展。意思就是祖先的代码必须执行。所以我们可以看到是直接调用的。

具体分析见:http://www.pbdecompiler.com/soft/2008-2020%20Steps%20Chinese.pdf

http://mis2erp.com/soft/PBDE03.png

 

 

举报

相关推荐

0 条评论