Hi,<div><br></div><div>Anybody aware of problems with the automatic generation of a project .ridl file by GenTLB in Delphi 2010?</div><div>The problem seems to come from using default values like in the example below:</div>
<div><div> module XLengths</div><div> {</div><div> [helpstring("metres")]</div><div> const double m = 39.37007874015;</div><div> [helpstring("centimetres")]</div><div> const double cm = 0.393700787401575;</div>
<div> [helpstring("millimetres")]</div><div> const double mm = 0.03937007874015;</div><div> [helpstring("feet")]</div><div> const double ft = 12;</div><div> [helpstring("inches")]</div>
<div> const double ins = 1;</div><div> };</div><div><br></div><div>When switching to Type Library view is shows a broken tree where the default value of m should be and crashes type library editor.</div><div><br></div>
<div>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.</div><div><br></div><div>Cheers,</div><div>Arjan</div><br></div>