Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi TLB editor replacement

Tags:

delphi

typelib

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!

like image 380
r4w8173 Avatar asked Feb 11 '10 14:02

r4w8173


2 Answers

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.

like image 145
ulrichb Avatar answered Sep 29 '22 01:09

ulrichb


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.

like image 39
Paul-Jan Avatar answered Sep 29 '22 01:09

Paul-Jan