Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

unknown property LCL-Version ...

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

hy-soft

Since a couple of days Lazarus inserts 'LCLVersion'#6#6'0.9.25'as last property into the*.lrs-files

On runtime it crashes after loading the form with an error: unknown property LCL-Version ...
how do i fix this?

I tried to remove it by editing the *.lrs manually but keeps beeing reinserted which is a drag

Thanks in Advance

-hy ___________________________________________________ | | hy-soft data-engineering | |mail: |---------------------------------------------------

Reply by email

hy-soft

Since a couple of days Lazarus inserts 'LCLVersion'#6#6'0.9.25'as last property into the*.lrs-files

On runtime it crashes after loading the form with an error: unknown property LCL-Version ...
how do i fix this?
I tried to remove it by editing the *.lrs manually but keeps beeing reinserted which is a drag

-hy ___________________________________________________ | | hy-soft data-engineering | |mail: |---------------------------------------------------

Reply by email

Mattias Gaertner
to hy-soft: Since a couple of days Lazarus inserts 'LCLVersion'#6#6'0.9.25'as last property into…
Show quoted text 6 lines
Since a couple of days Lazarus inserts 'LCLVersion'#6#6'0.9.25'as last property into the*.lrs-files On runtime it crashes after loading the form with an error: unknown property LCL-Version ... how do i fix this?

Normally you just need to recompile the application with the same LCL as the IDE was built with.

I tried to remove it by editing the *.lrs manually but keeps beeing reinserted which is a drag

Is this a normal LCL application or a special thing like KOL?

Mattias

Reply by email

hy-soft
to Mattias Gaertner
Mattias Gaertner wrote
Normally you just need to recompile the application with the same LCL as the IDE was built with.

Yeah, that was true until beginning of this week.

> I tried to remove it by editing the *.lrs manually but keeps beeing > reinserted which is a drag Is this a normal LCL application or a special thing like KOL?

I do not know what KOL is.

It is just a regular application. I ported it from Delphi and it worked already with win and Linux.

The only thing that seems to be important is that the forms in question are inherited from basic forms.
Yes, i have altered the *.lfm files and inserted *inherited* insted of object.

any help apperciated.

And sorry for the multiple posts - i had trouble with one of my mailservers recently so I reposted the matter after it didn't appear on the list.

-hy ___________________________________________________ | | hy-soft data-engineering | |mail: |---------------------------------------------------

Reply by email

Mattias Gaertner
to hy-soft
Show quoted text 5 lines
Mattias Gaertner wrote: > Normally you just need to recompile the application with the same > LCL as the IDE was built with. Yeah, that was true until beginning of this week.

It's still true.
Properties are added all the time. This is just a further string property.

Show quoted text 15 lines
>> I tried to remove it by editing the *.lrs manually but keeps beeing >> reinserted which is a drag > > Is this a normal LCL application or a special thing like KOL? I do not know what KOL is. It is just a regular application. I ported it from Delphi and it worked already with win and Linux. The only thing that seems to be important is that the forms in question are inherited from basic forms. Yes, i have altered the *.lfm files and inserted *inherited* insted of object. any help apperciated.

The error message means: The property was not found in the RTTI - run time type information.
The RTTI is created by the compiler from the published properties. That's why you must compile your project with the same LCL version as the IDE.
If you compile your project with old LCL ppu files you will see the message.
Please make sure, that you compile with the same LCL as the IDE. Take a look in the compiler options / show options.

Can you send an example?

And sorry for the multiple posts - i had trouble with one of my mailservers recently so I reposted the matter after it didn't appear on the list.

Mattias

Reply by email