[DUG] GenTLB errors in Delphi 2010

Arjan Noordhoek arjan.noordhoek at gmail.com
Wed Dec 16 20:19:21 NZDT 2009


Hi,

Anybody aware of problems with the automatic generation of a project .ridl
file by GenTLB in Delphi 2010?
The problem seems to come from using default values like in the example
below:
  module XLengths
  {
    [helpstring("metres")]
    const double m = 39.37007874015;
    [helpstring("centimetres")]
    const double cm = 0.393700787401575;
    [helpstring("millimetres")]
    const double mm = 0.03937007874015;
    [helpstring("feet")]
    const double ft = 12;
    [helpstring("inches")]
    const double ins = 1;
  };

When switching to Type Library view is shows a broken tree where the default
value of m should be and crashes type library editor.

Just trying to figure out if it's our specifc 'very old' type library that
is causing the problem or if its a delphi 2010 bug.

Cheers,
Arjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20091216/5a68a254/attachment.html 


More information about the Delphi mailing list