Delphi 2009 COM / ActiveX类型库支持稳定性 [英] Delphi 2009 COM/ActiveX Type Library support stability

查看:185
本文介绍了Delphi 2009 COM / ActiveX类型库支持稳定性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

参考 TLB和维护问题 ...

我的问题(经常)使用 Delphi 2009 中的rel =nofollow noreferrer>新的COM / ActiveX类型库支持

实施的稳定性如何?



特别是,我有兴趣:添加/删除类,更改GUID,重命名方法/属性,重新排序方法/属性,巨大的类型库(50+类),...



它是如在Delphi 2007(噩梦)或Delphi 7(相当OK,但有时你必须从SVN恢复TLB文件)或超稳定(如在, ... uhm,....你记得任何Delphi版本吗?)



编辑:是的,当然,文本RIDL一个好主意,但我的问题是:

是新的TLB支持的实现稳定(特别是RIDL文件与可视化TLB编辑器和实现类的同步

解决方案

好吧,我有偏见,但是我们的内部测试表明,新的解决方案是非常多的,更稳定的。



当然,它的设计是。所有的COM / ActiveX对象的智能现在是基于文本。由于它是基于文本的,它完全在你的控制之下。因为它在你的控制之下,你可以使它做你想要的。没有更多的黑盒子。这个过程是透明的。至于进口大型毛绒类型库,我们成功导入了整个MS Office类型库和ActiveX控件,这些是非常毛茸茸。



所以从我们坐的答案你的问题是:是的,很稳定。


Referring to TLB and maintenance issues ...

My question to people (often) using the new COM/ActiveX type library support in Delphi 2009:
How stable is the implementation?

Especially, I'm interested in: adding/deleting classes, changing GUIDs, renaming methods/properties, reordering methods/properties, huge type libraries (50+ classes), ...

Is it as stable as in Delphi 2007 (a nightmare) or Delphi 7 (quite OK, but sometimes you have to restore the TLB file from SVN) or super-stable (as in, ... uhm, .... do you remember any Delphi version)?

EDIT: Yes, of course, the text RIDL was an excellent idea, but my question is:
Is the (new) implementation of the TLB support stable (especially synchronization of the RIDL file with the visual TLB editor and the implementation classes when doing the tasks I described above).

解决方案

Well, again, I'm biased, but our internal testing indicates that the new solution is much, much, much more stable.

And of course it was designed to be. All the 'intelligence' of your COM/ActiveX objects is now text based. And since it is text based, it is completely under your control. Since it is under your control, you can make it do what you want. No more black boxes. The process is transparent. As for importing big, hairy Type Libraries, we successfully import the whole MS Office type libraries and ActiveX controls, and those are pretty hairy.

So from where we sit the answer to your question is: Yes, it is very stable.

这篇关于Delphi 2009 COM / ActiveX类型库支持稳定性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆