<p>Am 14.07.2012 07:45 schrieb "Martin Schreiber" <<a href="mailto:mse00000@gmail.com">mse00000@gmail.com</a>>:<br>
><br>
> On Saturday 14 July 2012 01:44:39 Jonas Maebe wrote:<br>
> > Hi,<br>
> ><br>
> > I've implemented an optimization that reorders the instance fields of<br>
> > Delphi-style classes (and only of Delphi-style classes) to minimise<br>
> > memory gaps caused by alignment differences and odd sizes. The effect<br>
> > is the same as when you would change the order of the fields in the<br>
> > source code to achieve this effect.<br>
> ><br>
> I sometimes need "cracker" classes in MSEide and MSEgui to fix bugs and make<br>
> extensinsions for FCL classes in order to access private fields (examples<br>
> TDataset, TParam, TField, TFiler, TReader, TWriter, TComponent).<br>
> Is it guaranteed that the local definitions have the same layout as the<br>
> definition in the FCL unit?</p>
<p>Do you have current examples where you fixed bugs? Maybe these can be fixed at the source which might be better than making them protected (though this can still be done for non-bug fields where you need access to certain members)</p>

<p>Regards,<br>
Sven</p>