On Tue, 13 Jun 2006 14:47:23 -0300
"Gustavo Enrique Jimenez" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I've updated my lazarus install form 0.9.6 to 0.9.14 .
>
> Everything is workin ok now, except xmlcfg.
>
> fpc has updated xmlcfg. It is ok, I can update my code to use xmlreg
> instead xmlcfg.
>
> The problem is that my apps already uses xml files created with the old
> xmlcfg unit.
>
> How can I use xmlcfg ? Instead of a filename, TXMLConfig.Create expect a
> TComponent.
>
> How do I change my code. I just need some link to a sample code.
>
> Thanks... !
Either
cfg:=TXMLConfig.Create(nil);
cfg.Filename:='config.xml';
or create a descendant with the old constructor.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives