[Lazarus] Lazarus 1.6RC1 on various platforms

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 21 19:09:38 CET 2015


On Mon, 21 Dec 2015 18:00:31 +0000
Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:

>[...]
> Yippee :-) Hopefully that's something that can get into the release.

Yes.

 
>[...]
> >>>> http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-A-change-in-LCL-require-your-TCustomForm-descendants-to-have-a-resource-or-to-use-a-CreateNer-td2402646.html 
>[...]
> > Or set RequireDerivedFormResource to false.
> 
> The unit/form is outside the project but is predefined (i.e. not 
> constructed at runtime). It's created early (before the main form's 
> constructor has completed) in order to check and if necessary create a 
> configuration file. Please correct me, but since its layout is stored in 
> resources I think CreateNew() doesn't fix anything.

The link you gave is about forms without resources. If your buggy form
has a resource, then this was misleading.

 
> I'm still not entirely convinced, but I think the problem was that it 
> had a {$I unitname.lrs} in the initialisation part rather than a {$R 
> *.lfm} at the start of the implementation.
> 
> So I'm fairly sure this isn't an IDE etc. problem, but since I can't 
> easily say what version created these files it might be one that will 
> bite more people with elderly projects.

This is not enough detail to help you.

Mattias




More information about the Lazarus mailing list