加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

bpl delphi专家和dll delphi专家之间的区别是什么

发布时间:2020-12-15 09:24:23 所属栏目:大数据 来源:网络整理
导读:我在delphi IDE专家工作,现在为了避免依赖性问题,我正在考虑重建这个专家作为dll专家,正如在其中一个 answers中提出的,现在我的专家(编译为bpl)访问Screen和Application全局变量(Delphi IDE的实例),所以我想知道如果我编译我的专家作为dll我仍然可以访问这些
我在delphi IDE专家工作,现在为了避免依赖性问题,我正在考虑重建这个专家作为dll专家,正如在其中一个 answers中提出的,现在我的专家(编译为bpl)访问Screen和Application全局变量(Delphi IDE的实例),所以我想知道如果我编译我的专家作为dll我仍然可以访问这些变量,我也想知道哪些是bpl delphi专家和dll delphi专家之间的主要区别?

解决方法

Should I compile my wizard as a DLL or a Package? Packages are easier to
load and unload without restarting the
IDE (and hence easier to debug),but
they can create unit naming conflicts
in the IDE. Conflicts happen when the
name a wizard’s unit matches the name
of a unit in another loaded
design-time package. In this case,
both packages can not be loaded at the
same time. The recommended workaround
is to prefix all of your unit names
with a “unique” prefix. GExperts,for
example,uses “GX_” as the name prefix
for its units.

从this非常好的OTA来源:GExperts

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读