[Lazarus] too many TXMLConfigs! (att: fcl-xml package maintainers)

Jesus Reyes jesusrmx at yahoo.com.mx
Mon May 31 21:23:02 CEST 2010



--- El sáb 29-may-10, dmitry boyarintsev <skalogryz.lists at gmail.com> escribió:
> 
> So, what unit should an IDE extension and/or LCL components
> use?
> 
> xmlconf: is used by LazReport
> xmlcfg: is used by Grids, XMLPropStorage and the packager
> (RegisterFCL.pas, but not sure why)
> Laz_XMLCfg: is used by LazarusIDE, CodeTools, packager (!!)
> and fpdoceditor
> 
> thanks,
> dmitry
> 

The grid now uses XMLConf. 

For Users that may result affected by this change here are two ways to fix the problem: 

1) manually editing the file in a text editor and by search & replace the old UTF8 string by the new correct UTF8 string. ej: 'Español' (Español if viewed in ansi editor) -> 'Español'.


2) Open grids.pas and change the line from

9257:          Cells[i,j]:=UTF8Encode(cfg.GetValue('grid/content/cells/cell'+IntToStr(k)+'/text',''));
to
9257:          Cells[i,j]:=cfg.GetValue('grid/content/cells/cell'+IntToStr(k)+'/text','');

Then recompile LCL and the affected apps, load your files and save them in the new format. After the changes restore line 9257 and recompile LCL and your apps.

Jesus Reyes A.


      




More information about the Lazarus mailing list