开发者

Delphi TLB editor replacement

Do you know any good TLB editor (even commercial) that can be used instead of the one which comes with Delphi? It gives headaches in a lot of situations (big TLB, rename an entry ... 开发者_开发问答etc.)

Thanks!


As I already mentioned in this question the Type Library support is really really buggy, especially in Delphi 2005 - 2007.

In Delphi 2009 and 2010 it got better, although there are still many bugs (try to rename a class). BUT since Delphi 2009 the editor uses the RIDL text format instead of a binary format and so you can (and often have to) manually edit the TLB when the editor did something stupid.

To answer your question: No, it doesn't make sense to replace the editor, because you would loose all the automatic RIDL to Delphi code conversions.


We opted for an IDL -> (midl) -> TLB -> (tlibimp) _TLB.Pas workflow. Manually updating an IDL file is a good bit different from visually editing a TLB file, but as programmers we prefer to type out our interfaces anyway.

This workflow is from the pre-RIDL era, so we might update in the near future.


The TLB editor from Delphi really sucked, but it got a major overhaul in Delphi 2009.

If updating to a newer version is an option, you can try to migrate to Delphi 2010 and see, if that solves your problems.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜